Skip to content

Commit

Permalink
make arg optional
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius committed Sep 30, 2024
1 parent 6a1b6a9 commit 9f312a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/dialogs/GifSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 9f312a2

Please sign in to comment.