diff options
Diffstat (limited to 'src/view/com/composer/photos/SelectGifBtn.tsx')
-rw-r--r-- | src/view/com/composer/photos/SelectGifBtn.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/view/com/composer/photos/SelectGifBtn.tsx b/src/view/com/composer/photos/SelectGifBtn.tsx index d482e0783..d13df0a11 100644 --- a/src/view/com/composer/photos/SelectGifBtn.tsx +++ b/src/view/com/composer/photos/SelectGifBtn.tsx @@ -9,16 +9,14 @@ import {atoms as a, useTheme} from '#/alf' import {Button} from '#/components/Button' import {GifSelectDialog} from '#/components/dialogs/GifSelect' import {GifSquare_Stroke2_Corner0_Rounded as GifIcon} from '#/components/icons/Gif' -import {PortalComponent} from '#/components/Portal' type Props = { onClose: () => void onSelectGif: (gif: Gif) => void disabled?: boolean - Portal?: PortalComponent } -export function SelectGifBtn({onClose, onSelectGif, disabled, Portal}: Props) { +export function SelectGifBtn({onClose, onSelectGif, disabled}: Props) { const {_} = useLingui() const ref = useRef<{open: () => void}>(null) const t = useTheme() @@ -48,7 +46,6 @@ export function SelectGifBtn({onClose, onSelectGif, disabled, Portal}: Props) { controlRef={ref} onClose={onClose} onSelectGif={onSelectGif} - Portal={Portal} /> </> ) |