From 9a92b124936a8bc4a9602207bb4a44898a64f9e3 Mon Sep 17 00:00:00 2001 From: Allen Benny Date: Wed, 15 Feb 2023 18:43:21 +0530 Subject: [PATCH] Removed Redundant Computation --- .../components/Drawer/DrawerPanel/DesignColors.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/OnboardingSPA/components/Drawer/DrawerPanel/DesignColors.js b/src/OnboardingSPA/components/Drawer/DrawerPanel/DesignColors.js index 402651162..a82074a31 100644 --- a/src/OnboardingSPA/components/Drawer/DrawerPanel/DesignColors.js +++ b/src/OnboardingSPA/components/Drawer/DrawerPanel/DesignColors.js @@ -242,12 +242,6 @@ const DesignColors = () => { } } setSelectedColors( selectedColors ); - saveThemeColorPalette( - currentData?.data?.palette.slug, - colorPalettes?.body, - selectedColorsLocal, - storedPreviewSettings - ); setIsLoaded( true ); };