remove dev check

This commit is contained in:
Hailey
2024-10-09 23:35:36 -07:00
parent 975761b5d5
commit e13779f2c0
+1 -1
View File
@@ -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.',
)