diff options
author | Hailey <me@haileyok.com> | 2024-10-09 14:50:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-09 14:50:54 -0700 |
commit | 9f070cd9cdc5387e664180c5b771d07595acc261 (patch) | |
tree | e722afccc2cb7d952c7a1c7a48735924e7e10b3e /src/components/Dialog/index.tsx | |
parent | 86b0d3b49819fbd81385ebc64ec86d8807c6a189 (diff) | |
download | voidsky-9f070cd9cdc5387e664180c5b771d07595acc261.tar.zst |
Cleanup unused props from dialogs (#5665)
Diffstat (limited to 'src/components/Dialog/index.tsx')
-rw-r--r-- | src/components/Dialog/index.tsx | 22 |
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> ) } |