Skip to content

Commit

Permalink
Check randomizer experiment is enabled before rendering button (#52306)
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Jul 7, 2023
1 parent 8dab0a0 commit d98464c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/global-styles/palette.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function Palette( { name } ) {
</HStack>
</NavigationButtonAsItem>
</ItemGroup>
{ themeColors?.length > 0 && (
{ randomizeThemeColors && themeColors?.length > 0 && (
<Button
variant="secondary"
icon={ shuffle }
Expand Down

0 comments on commit d98464c

Please sign in to comment.