diff options
Diffstat (limited to 'src/state/home-badge.tsx')
-rw-r--r-- | src/state/home-badge.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/home-badge.tsx b/src/state/home-badge.tsx index 59a9276ce..e1000b90b 100644 --- a/src/state/home-badge.tsx +++ b/src/state/home-badge.tsx @@ -4,7 +4,9 @@ type StateContext = boolean type ApiContext = (hasNew: boolean) => void const stateContext = React.createContext<StateContext>(false) +stateContext.displayName = 'HomeBadgeStateContext' const apiContext = React.createContext<ApiContext>((_: boolean) => {}) +apiContext.displayName = 'HomeBadgeApiContext' export function Provider({children}: React.PropsWithChildren<{}>) { const [state, setState] = React.useState(false) |