diff --git a/packages/react-components/react-platform-adapter/src/styling/makeStyles.native.ts b/packages/react-components/react-platform-adapter/src/styling/makeStyles.native.ts index 4745578a6be84..dfe383b6c3934 100644 --- a/packages/react-components/react-platform-adapter/src/styling/makeStyles.native.ts +++ b/packages/react-components/react-platform-adapter/src/styling/makeStyles.native.ts @@ -19,11 +19,14 @@ export function makeStyles( classNameMap[slotName] = className; } + let registered = false; const useStyles = () => { + if (!registered) { + registerStyles(styles); + registered = true; + } return classNameMap; }; - registerStyles(styles); - return useStyles; }