about summary refs log tree commit diff
path: root/src/components/Dialog/index.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-10-09 14:50:54 -0700
committerGitHub <noreply@github.com>2024-10-09 14:50:54 -0700
commit9f070cd9cdc5387e664180c5b771d07595acc261 (patch)
treee722afccc2cb7d952c7a1c7a48735924e7e10b3e /src/components/Dialog/index.tsx
parent86b0d3b49819fbd81385ebc64ec86d8807c6a189 (diff)
downloadvoidsky-9f070cd9cdc5387e664180c5b771d07595acc261.tar.zst
Cleanup unused props from dialogs (#5665)
Diffstat (limited to 'src/components/Dialog/index.tsx')
-rw-r--r--src/components/Dialog/index.tsx22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx
index 6d859aeb0..a27271168 100644
--- a/src/components/Dialog/index.tsx
+++ b/src/components/Dialog/index.tsx
@@ -153,18 +153,18 @@ export function Outer({
   )
 
   return (
-    <Context.Provider value={context}>
-      <BottomSheet
-        ref={ref}
-        cornerRadius={20}
-        backgroundColor={t.atoms.bg.backgroundColor}
-        {...nativeOptions}
-        onSnapPointChange={onSnapPointChange}
-        onStateChange={onStateChange}
-        disableDrag={disableDrag}>
+    <BottomSheet
+      ref={ref}
+      cornerRadius={20}
+      backgroundColor={t.atoms.bg.backgroundColor}
+      {...nativeOptions}
+      onSnapPointChange={onSnapPointChange}
+      onStateChange={onStateChange}
+      disableDrag={disableDrag}>
+      <Context.Provider value={context}>
         <View testID={testID}>{children}</View>
-      </BottomSheet>
-    </Context.Provider>
+      </Context.Provider>
+    </BottomSheet>
   )
 }