Skip to content

Commit bdfcc37

Browse files
committed
fix: default color on customizer
1 parent 6abe056 commit bdfcc37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Customizer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Customizer = () => {
1919
const [, setBodyHidden] = useBodyScroll(null, { scrollLayer: true });
2020
const { ToastsType, addToastWithTimeout } = useToasts();
2121
const { user, updateValue: updateUserData } = useUserDataContext();
22-
const [localColor, setLocalColor] = useState(user.primaryColor);
22+
const [localColor, setLocalColor] = useState(user.primaryColor || '#1ee0e0');
2323

2424
const { register, handleSubmit, formState, errors } = useForm({
2525
mode: 'onBlur',

0 commit comments

Comments
 (0)