Skip to content

Commit

Permalink
Fix default styles value in useStyles function
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski authored and aaronrobertshaw committed May 9, 2024
1 parent e8d444f commit a3ada64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/use-styles/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] );
Expand Down

0 comments on commit a3ada64

Please sign in to comment.