about summary refs log tree commit diff
path: root/src/state/dialogs/index.tsx
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2024-02-27 14:39:41 +0900
committerGitHub <noreply@github.com>2024-02-27 14:39:41 +0900
commit8d394a354114d5d6cacc79f60035a7a3d9629659 (patch)
tree5678ed30383917e01a9e0d4a01eb2b206d34aa73 /src/state/dialogs/index.tsx
parent860b5307adf29e7f47e2ef6a84af1932929223b1 (diff)
parent58aaad704aa971c5ebbf5a5f330a2e2129b557f6 (diff)
downloadvoidsky-8d394a354114d5d6cacc79f60035a7a3d9629659.tar.zst
Merge branch 'main' into patch-3
Diffstat (limited to 'src/state/dialogs/index.tsx')
-rw-r--r--src/state/dialogs/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state/dialogs/index.tsx b/src/state/dialogs/index.tsx
index 4cafaa086..ae762bd97 100644
--- a/src/state/dialogs/index.tsx
+++ b/src/state/dialogs/index.tsx
@@ -1,5 +1,6 @@
 import React from 'react'
 import {DialogControlProps} from '#/components/Dialog'
+import {Provider as GlobalDialogsProvider} from '#/components/dialogs/Context'
 
 const DialogContext = React.createContext<{
   activeDialogs: React.MutableRefObject<
@@ -37,7 +38,7 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
   return (
     <DialogContext.Provider value={context}>
       <DialogControlContext.Provider value={controls}>
-        {children}
+        <GlobalDialogsProvider>{children}</GlobalDialogsProvider>
       </DialogControlContext.Provider>
     </DialogContext.Provider>
   )