Skip to content

Commit 67e9097

Browse files
committed
fix: provide the portal host name with use portal
1 parent 4db946e commit 67e9097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/bottomSheetModal/BottomSheetModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function BottomSheetModalComponent<T = any>(
7575
unmountSheet,
7676
willUnmountSheet,
7777
} = useBottomSheetModalInternal();
78-
const { removePortal: unmountPortal } = usePortal();
78+
const { removePortal: unmountPortal } = usePortal(hostName);
7979
//#endregion
8080

8181
//#region refs

0 commit comments

Comments
 (0)