From cca344a3d1cdca3d4e63806a9bd5f7867f8961d4 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 9 Oct 2024 21:30:42 +0300 Subject: Allow nested sheets without boilerplate (#5660) Co-authored-by: Hailey --- src/components/dialogs/GifSelect.tsx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/components/dialogs/GifSelect.tsx') diff --git a/src/components/dialogs/GifSelect.tsx b/src/components/dialogs/GifSelect.tsx index c0ed202da..765e9415d 100644 --- a/src/components/dialogs/GifSelect.tsx +++ b/src/components/dialogs/GifSelect.tsx @@ -30,18 +30,15 @@ import {useThrottledValue} from '#/components/hooks/useThrottledValue' import {ArrowLeft_Stroke2_Corner0_Rounded as Arrow} from '#/components/icons/Arrow' import {MagnifyingGlass2_Stroke2_Corner0_Rounded as Search} from '#/components/icons/MagnifyingGlass2' import {ListFooter, ListMaybePlaceholder} from '#/components/Lists' -import {PortalComponent} from '#/components/Portal' export function GifSelectDialog({ controlRef, onClose, onSelectGif: onSelectGifProp, - Portal, }: { controlRef: React.RefObject<{open: () => void}> onClose: () => void onSelectGif: (gif: Gif) => void - Portal?: PortalComponent }) { const control = Dialog.useDialogControl() @@ -65,7 +62,6 @@ export function GifSelectDialog({