diff --git a/src/components/dialogs/GifSelect.tsx b/src/components/dialogs/GifSelect.tsx index 1afc588dad..133b3db8be 100644 --- a/src/components/dialogs/GifSelect.tsx +++ b/src/components/dialogs/GifSelect.tsx @@ -31,12 +31,12 @@ import {GifPreview} from './GifSelect.shared' export function GifSelectDialog({ controlRef, - onClose, onSelectGif: onSelectGifProp, + onClose, }: { controlRef: React.RefObject<{open: () => void}> - onClose: () => void onSelectGif: (gif: Gif) => void + onClose?: () => void }) { const control = Dialog.useDialogControl()