Skip to content

Commit

Permalink
Update packages/block-editor/src/hooks/color.js
Browse files Browse the repository at this point in the history
Co-Authored-By: Zebulan Stanphill <[email protected]>
  • Loading branch information
youknowriad and ZebulanStanphill committed Mar 24, 2020
1 parent 076224b commit 59eb590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const withBlockControls = createHigherOrderComponent(
color: {
...style?.color,
[ name ]:
colorObject && colorObject.slug ? undefined : value,
colorObject?.slug ? undefined : value,
},
};
const newNamedColor =
Expand Down

0 comments on commit 59eb590

Please sign in to comment.