Cleanup unused props from dialogs (#5665)

This commit is contained in:
Hailey
2024-10-09 14:50:54 -07:00
committed by GitHub
parent 86b0d3b498
commit 9f070cd9cd
7 changed files with 15 additions and 35 deletions
+11 -11
View File
@@ -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>
)
}