From 37e54dc619968e45fa00743c13a8303cff36fa65 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 13 Sep 2024 23:38:58 +0530 Subject: [PATCH] feat: remove removeListTextField --- src/context/browserSteps.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/context/browserSteps.tsx b/src/context/browserSteps.tsx index 6421f393..8c9063e8 100644 --- a/src/context/browserSteps.tsx +++ b/src/context/browserSteps.tsx @@ -43,6 +43,7 @@ interface BrowserStepsContextType { deleteBrowserStep: (id: number) => void; updateBrowserTextStepLabel: (id: number, newLabel: string) => void; updateListTextFieldLabel: (listId: number, fieldKey: string, newLabel: string) => void; + removeListTextField: (listId: number, fieldKey: string) => void; } const BrowserStepsContext = createContext(undefined); @@ -131,6 +132,7 @@ export const BrowserStepsProvider: React.FC<{ children: React.ReactNode }> = ({ deleteBrowserStep, updateBrowserTextStepLabel, updateListTextFieldLabel, + removeListTextField, }}> {children}