From 0261204e157db259cff28502137330c63ac1fb91 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 6 Sep 2024 23:12:13 +0530 Subject: [PATCH] feat: update pagination type --- src/context/browserActions.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/context/browserActions.tsx b/src/context/browserActions.tsx index 5ee62e77..d5d1e7ee 100644 --- a/src/context/browserActions.tsx +++ b/src/context/browserActions.tsx @@ -27,6 +27,7 @@ export const ActionProvider = ({ children }: { children: ReactNode }) => { const [getScreenshot, setGetScreenshot] = useState(false); const [paginationMode, setPaginationMode] = useState(false); const [paginationType, setPaginationType] = useState(''); + const updatePaginationType = (type: PaginationType) => setPaginationType(type); const startPaginationMode = (type: PaginationType) => { setPaginationMode(true);