rm ts-ignore
This commit is contained in:
@@ -21,17 +21,7 @@ type Context = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const Context = React.createContext<Context>({
|
const Context = React.createContext<Context>({} as Context)
|
||||||
isContentVisible: false,
|
|
||||||
setIsContentVisible: () => {},
|
|
||||||
// @ts-ignore
|
|
||||||
info: {},
|
|
||||||
showInfoDialog: () => {},
|
|
||||||
meta: {
|
|
||||||
isNoPwi: false,
|
|
||||||
noOverride: false,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
export const useScreenHider = () => React.useContext(Context)
|
export const useScreenHider = () => React.useContext(Context)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user