diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-08-14 01:12:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-14 01:12:31 +0300 |
commit | b2c56cbd6dfa9af576f947dd41a0d33376b184d1 (patch) | |
tree | acdf57b6e7e2860c89b20b1dc239fe20521cb1c4 /src/state/threadgate-hidden-replies.tsx | |
parent | 275fece3e3de0bd09377a33813bcfe35e352874b (diff) | |
download | voidsky-b2c56cbd6dfa9af576f947dd41a0d33376b184d1.tar.zst |
Add displayName to contexts (#8814)
Diffstat (limited to 'src/state/threadgate-hidden-replies.tsx')
-rw-r--r-- | src/state/threadgate-hidden-replies.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/threadgate-hidden-replies.tsx b/src/state/threadgate-hidden-replies.tsx index 8a3ee0f24..af3aaef5d 100644 --- a/src/state/threadgate-hidden-replies.tsx +++ b/src/state/threadgate-hidden-replies.tsx @@ -14,11 +14,13 @@ const StateContext = React.createContext<StateContext>({ uris: new Set(), recentlyUnhiddenUris: new Set(), }) +StateContext.displayName = 'ThreadgateHiddenRepliesStateContext' const ApiContext = React.createContext<ApiContext>({ addHiddenReplyUri: () => {}, removeHiddenReplyUri: () => {}, }) +ApiContext.displayName = 'ThreadgateHiddenRepliesApiContext' export function Provider({children}: {children: React.ReactNode}) { const [uris, setHiddenReplyUris] = React.useState<Set<string>>(new Set()) |