diff --git a/src/context/browserActions.tsx b/src/context/browserActions.tsx index 50d86777..e91c1b12 100644 --- a/src/context/browserActions.tsx +++ b/src/context/browserActions.tsx @@ -2,6 +2,7 @@ import React, { createContext, useContext, useState, ReactNode } from 'react'; interface ActionContextProps { getText: boolean; + getList: boolean; getScreenshot: boolean; startGetText: () => void; stopGetText: () => void; @@ -13,6 +14,7 @@ const ActionContext = createContext(undefined); export const ActionProvider = ({ children }: { children: ReactNode }) => { const [getText, setGetText] = useState(false); + const [getList, setGetList] = useState(false); const [getScreenshot, setGetScreenshot] = useState(false); const startGetText = () => setGetText(true); @@ -22,7 +24,7 @@ export const ActionProvider = ({ children }: { children: ReactNode }) => { const stopGetScreenshot = () => setGetScreenshot(false); return ( - + {children} );