fix: accent color preloaded data

This commit is contained in:
Aaryan Khandelwal 2023-06-29 13:21:18 +05:30
parent da66abf791
commit 1c7a24a48a

View File

@ -129,6 +129,7 @@ export const CustomThemeSelector: React.FC<Props> = ({ preLoadedData }) => {
reset({
...defaultValues,
...preLoadedData,
"accent-500": preLoadedData?.accent?.[500] || "#FE5050",
});
}, [preLoadedData, reset]);