Skip to content

Commit

Permalink
fix: use function instead of component for BottomSheetModal (#1750)(by
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerumen committed May 19, 2024
1 parent e294d1c commit 6cfc99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/bottomSheetModal/BottomSheetModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ const BottomSheetModalComponent = forwardRef<
onChange={handleBottomSheetOnChange}
onClose={handleBottomSheetOnClose}
children={
typeof Content === 'function' ? <Content data={data} /> : Content
typeof Content === 'function' ? Content({ data }) : Content
}
$modal={true}
/>
Expand Down

0 comments on commit 6cfc99f

Please sign in to comment.