Skip to content

Commit

Permalink
remove dev check
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok committed Oct 10, 2024
1 parent 975761b commit e13779f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/bottom-sheet/src/BottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const BottomSheet = React.forwardRef<
>(function BottomSheet(props, ref) {
const Portal = useBottomSheetPortal_INTERNAL()

if (__DEV__ && !Portal) {
if (!Portal) {
throw new Error(
'BottomSheet: You need to wrap your component tree with a <BottomSheetPortalProvider> to use the bottom sheet.',
)
Expand Down

0 comments on commit e13779f

Please sign in to comment.