about summary refs log tree commit diff
path: root/src/components/dialogs
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-08-14 01:12:31 +0300
committerGitHub <noreply@github.com>2025-08-14 01:12:31 +0300
commitb2c56cbd6dfa9af576f947dd41a0d33376b184d1 (patch)
treeacdf57b6e7e2860c89b20b1dc239fe20521cb1c4 /src/components/dialogs
parent275fece3e3de0bd09377a33813bcfe35e352874b (diff)
downloadvoidsky-b2c56cbd6dfa9af576f947dd41a0d33376b184d1.tar.zst
Add displayName to contexts (#8814)
Diffstat (limited to 'src/components/dialogs')
-rw-r--r--src/components/dialogs/Context.tsx1
-rw-r--r--src/components/dialogs/nuxs/index.tsx1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/components/dialogs/Context.tsx b/src/components/dialogs/Context.tsx
index 8c700cafe..bc802482f 100644
--- a/src/components/dialogs/Context.tsx
+++ b/src/components/dialogs/Context.tsx
@@ -27,6 +27,7 @@ type ControlsContext = {
 }
 
 const ControlsContext = createContext<ControlsContext | null>(null)
+ControlsContext.displayName = 'GlobalDialogControlsContext'
 
 export function useGlobalDialogsControlContext() {
   const ctx = useContext(ControlsContext)
diff --git a/src/components/dialogs/nuxs/index.tsx b/src/components/dialogs/nuxs/index.tsx
index 5529893c0..2daf4a268 100644
--- a/src/components/dialogs/nuxs/index.tsx
+++ b/src/components/dialogs/nuxs/index.tsx
@@ -47,6 +47,7 @@ const Context = React.createContext<Context>({
   activeNux: undefined,
   dismissActiveNux: () => {},
 })
+Context.displayName = 'NuxDialogContext'
 
 export function useNuxDialogContext() {
   return React.useContext(Context)