We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bb3b71 commit 63655d4Copy full SHA for 63655d4
1 file changed
packages/api/src/hooks/useCreateAvatarRenderer.ts
@@ -18,9 +18,10 @@ type CreateAvatarRendererCallback = ({
18
*/
19
export default function useCreateAvatarRenderer(): CreateAvatarRendererCallback {
20
const [styleOptions] = useStyleOptions();
21
- const styleOptionsRef = useRefFrom(styleOptions);
22
const buildRenderAvatar = useBuildRenderAvatarCallback();
23
+ const styleOptionsRef = useRefFrom(styleOptions);
24
+
25
// TODO: [P1] We should move this function into `api-middleware`.
26
// However, it use `useStyleOptions` which is from `api` package.
27
// In order to do that, we need to build a new `api-style-options` package first.
0 commit comments