diff --git a/modules/bottom-sheet/src/BottomSheet.tsx b/modules/bottom-sheet/src/BottomSheet.tsx index bcc2c42ad13..eec7736349c 100644 --- a/modules/bottom-sheet/src/BottomSheet.tsx +++ b/modules/bottom-sheet/src/BottomSheet.tsx @@ -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 to use the bottom sheet.', )