feat: remove removeListTextField

This commit is contained in:
karishmas6
2024-09-13 23:38:58 +05:30
parent b9349a8f50
commit 37e54dc619

View File

@@ -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<BrowserStepsContextType | undefined>(undefined);
@@ -131,6 +132,7 @@ export const BrowserStepsProvider: React.FC<{ children: React.ReactNode }> = ({
deleteBrowserStep,
updateBrowserTextStepLabel,
updateListTextFieldLabel,
removeListTextField,
}}>
{children}
</BrowserStepsContext.Provider>