From 1b1c07095f48dd51b85bd8c52b3b27e3e541b813 Mon Sep 17 00:00:00 2001 From: Bartosz Prusinowski Date: Tue, 22 Nov 2022 12:40:04 +0100 Subject: [PATCH 01/16] refactor: DRAWER_WIDTH instead of constant --- app/configurator/components/configurator.tsx | 7 +++++-- app/configurator/components/drawer.tsx | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/configurator/components/configurator.tsx b/app/configurator/components/configurator.tsx index 82f541aed3..600bc8ba52 100644 --- a/app/configurator/components/configurator.tsx +++ b/app/configurator/components/configurator.tsx @@ -9,7 +9,10 @@ import { ChartPreview } from "@/components/chart-preview"; import { useConfiguratorState } from "@/configurator"; import { ChartAnnotationsSelector } from "@/configurator/components/chart-annotations-selector"; import { ChartConfigurator } from "@/configurator/components/chart-configurator"; -import { ConfiguratorDrawer } from "@/configurator/components/drawer"; +import { + ConfiguratorDrawer, + DRAWER_WIDTH, +} from "@/configurator/components/drawer"; import { PanelLayout, PanelLeftWrapper, @@ -133,7 +136,7 @@ const ConfigureChartStep = () => { hideBackdrop onClose={handleClosePanel} > -
+