We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afe6715 commit 11420aaCopy full SHA for 11420aa
src/components/GradientPickerPopover/index.js
@@ -25,7 +25,7 @@ const GradientPickerPopover = ({
25
setGradientType: setControlledGradientType,
26
...gradientPickerProps
27
}) => {
28
- const [internalGradientType, setInternalGradientType] = useState(controlledGradientType || GRADIENT_TYPES.LINEAR);
+ const [internalGradientType, setInternalGradientType] = useState(GRADIENT_TYPES.LINEAR);
29
const gradientType = controlledGradientType || internalGradientType;
30
const setGradientType = setControlledGradientType || setInternalGradientType;
31
0 commit comments