diff --git a/src/context/browserActions.tsx b/src/context/browserActions.tsx index e91c1b12..b05d8220 100644 --- a/src/context/browserActions.tsx +++ b/src/context/browserActions.tsx @@ -6,6 +6,8 @@ interface ActionContextProps { getScreenshot: boolean; startGetText: () => void; stopGetText: () => void; + startGetList: () => void; + stopGetList: () => void; startGetScreenshot: () => void; stopGetScreenshot: () => void; } @@ -20,11 +22,14 @@ export const ActionProvider = ({ children }: { children: ReactNode }) => { const startGetText = () => setGetText(true); const stopGetText = () => setGetText(false); + const startGetList = () => setGetList(true); + const stopGetList = () => setGetList(false); + const startGetScreenshot = () => setGetScreenshot(true); const stopGetScreenshot = () => setGetScreenshot(false); return ( - + {children} );