Skip to content

Commit 0746077

Browse files
committed
fix: remove JSON stringify since customPresets is just an array
1 parent c6d157a commit 0746077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/global-settings/preset-controls/editor-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const GlobalPresetControlsStyles = () => {
5151
if ( customPresets && typeof customPresets === 'object' ) {
5252
renderGlobalStyles( customPresets, setStyles )
5353
}
54-
}, [ JSON.stringify( customPresets ) ] )
54+
}, [ customPresets ] )
5555

5656
return styles
5757
}

0 commit comments

Comments
 (0)