From 6d65f5e8cb1adb6dfb9eb53e0b7369e926bbf3aa Mon Sep 17 00:00:00 2001 From: Hailey Date: Tue, 20 Aug 2024 09:01:22 -0700 Subject: [PATCH] rm ts-ignore --- src/components/moderation/Hider.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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)