diff --git a/src/context/browserActions.tsx b/src/context/browserActions.tsx index 5a7c12b5..449abdff 100644 --- a/src/context/browserActions.tsx +++ b/src/context/browserActions.tsx @@ -4,6 +4,7 @@ interface ActionContextProps { getText: boolean; getList: boolean; getScreenshot: boolean; + paginationMode: boolean; startGetText: () => void; stopGetText: () => void; startGetList: () => void; @@ -18,6 +19,7 @@ export const ActionProvider = ({ children }: { children: ReactNode }) => { const [getText, setGetText] = useState(false); const [getList, setGetList] = useState(false); const [getScreenshot, setGetScreenshot] = useState(false); + const [paginationMode, setPaginationMode] = useState(false); const startGetText = () => setGetText(true); const stopGetText = () => setGetText(false); @@ -29,7 +31,7 @@ export const ActionProvider = ({ children }: { children: ReactNode }) => { const stopGetScreenshot = () => setGetScreenshot(false); return ( - + {children} );