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/dialogs/index.tsx | |
parent | 275fece3e3de0bd09377a33813bcfe35e352874b (diff) | |
download | voidsky-b2c56cbd6dfa9af576f947dd41a0d33376b184d1.tar.zst |
Add displayName to contexts (#8814)
Diffstat (limited to 'src/state/dialogs/index.tsx')
-rw-r--r-- | src/state/dialogs/index.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/dialogs/index.tsx b/src/state/dialogs/index.tsx index 520fb2c84..51ca8b514 100644 --- a/src/state/dialogs/index.tsx +++ b/src/state/dialogs/index.tsx @@ -26,10 +26,12 @@ interface IDialogControlContext { } const DialogContext = React.createContext<IDialogContext>({} as IDialogContext) +DialogContext.displayName = 'DialogContext' const DialogControlContext = React.createContext<IDialogControlContext>( {} as IDialogControlContext, ) +DialogControlContext.displayName = 'DialogControlContext' /** * The number of dialogs that are fully expanded. This is used to determine the background color of the status bar @@ -107,3 +109,4 @@ export function Provider({children}: React.PropsWithChildren<{}>) { </DialogContext.Provider> ) } +Provider.displayName = 'DialogsProvider' |