From 605eeb5d76a87b6b328a1291915261d85a716c6b Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 26 Jul 2024 23:15:34 +0530 Subject: [PATCH] chore: remove unused code --- src/components/organisms/RightSidePanel.tsx | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index df74c306..7020b0b0 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -42,20 +42,7 @@ export const RightSidePanel = ({ pairForEdit }: RightSidePanelProps) => { setIsSettingsDisplayed(true); }; - // const confirmStep = () => { - // setBrowserSteps([ - // ...browserSteps, - // { id: Date.now(), label: stepLabel, description: stepDescription } - // ]); - // setStepLabel(''); - // setStepDescription(''); - // }; - - // const discardStep = () => { - // setStepLabel(''); - // setStepDescription(''); - // }; - + const handleLabelChange = (id: number, label: string) => { setLabels(prevLabels => ({ ...prevLabels, [id]: label })); };