Skip to content

Commit 33cb28d

Browse files
authored
fix (color schemes): block error in theme customizer (#3480)
1 parent ce66662 commit 33cb28d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/use-block-color-schemes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const useBlockColorSchemes = () => {
6868
// get color groups for color palette picker.
6969
const getColorGroups = () => {
7070
if ( hideColorSchemeColors ) {
71-
return []
71+
return { colorSchemeColors: [], colorSchemeGradients: [] }
7272
}
7373

7474
const colorSchemeColors = []

0 commit comments

Comments
 (0)