diff --git a/src/components/moderation/Hider.tsx b/src/components/moderation/Hider.tsx index 7acc7bb949..f4dafcf065 100644 --- a/src/components/moderation/Hider.tsx +++ b/src/components/moderation/Hider.tsx @@ -21,17 +21,7 @@ type Context = { } } -const Context = React.createContext({ - isContentVisible: false, - setIsContentVisible: () => {}, - // @ts-ignore - info: {}, - showInfoDialog: () => {}, - meta: { - isNoPwi: false, - noOverride: false, - }, -}) +const Context = React.createContext({} as Context) export const useScreenHider = () => React.useContext(Context)