diff --git a/src/context/browserSteps.tsx b/src/context/browserSteps.tsx index a42abfa0..bdb0d298 100644 --- a/src/context/browserSteps.tsx +++ b/src/context/browserSteps.tsx @@ -55,7 +55,7 @@ export const BrowserStepsProvider: React.FC<{ children: React.ReactNode }> = ({ ]); }; - const addListStep = (listSelector: string, newFields: { [key: string]: TextStep }, listId: number) => { + const addListStep = (listSelector: string, newFields: { [key: string]: TextStep }, listId: number, pagination?: { type: string; selector: string}) => { setBrowserSteps(prevSteps => { const existingListStepIndex = prevSteps.findIndex( step => step.type === 'list' && step.id === listId