diff --git a/packages/editor/src/components/use-styles/index.js b/packages/editor/src/components/use-styles/index.js index 551ce815768bf..df6a2622e5b23 100644 --- a/packages/editor/src/components/use-styles/index.js +++ b/packages/editor/src/components/use-styles/index.js @@ -37,7 +37,7 @@ export function useStyles() { // Make sure to recompute the styles when hasResolved changes. const config = useMemo( () => { return { - styles: styles ?? 'no styless', + styles: styles ?? {}, isReady, }; }, [ isReady, styles ] );