From 1c7a24a48a0788b1b5bd48b8ab6f5726db327d08 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal Date: Thu, 29 Jun 2023 13:21:18 +0530 Subject: [PATCH] fix: accent color preloaded data --- apps/app/components/core/custom-theme-selector.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app/components/core/custom-theme-selector.tsx b/apps/app/components/core/custom-theme-selector.tsx index b79fc8eb4..c0995a36a 100644 --- a/apps/app/components/core/custom-theme-selector.tsx +++ b/apps/app/components/core/custom-theme-selector.tsx @@ -129,6 +129,7 @@ export const CustomThemeSelector: React.FC = ({ preLoadedData }) => { reset({ ...defaultValues, ...preLoadedData, + "accent-500": preLoadedData?.accent?.[500] || "#FE5050", }); }, [preLoadedData, reset]);