diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/dialogs/GifSelect.tsx | 2 | ||||
-rw-r--r-- | src/components/forms/ToggleButton.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/dialogs/GifSelect.tsx b/src/components/dialogs/GifSelect.tsx index ffd8130db..64ad2624a 100644 --- a/src/components/dialogs/GifSelect.tsx +++ b/src/components/dialogs/GifSelect.tsx @@ -37,7 +37,7 @@ export function GifSelectDialog({ onSelectGif: onSelectGifProp, }: { controlRef: React.RefObject<{open: () => void}> - onClose: () => void + onClose?: () => void onSelectGif: (gif: Gif) => void }) { const control = Dialog.useDialogControl() diff --git a/src/components/forms/ToggleButton.tsx b/src/components/forms/ToggleButton.tsx index f47a272b1..8e08665fd 100644 --- a/src/components/forms/ToggleButton.tsx +++ b/src/components/forms/ToggleButton.tsx @@ -36,7 +36,7 @@ export function Group({children, multiple, ...props}: GroupProps) { export function Button({children, ...props}: ItemProps) { return ( - <Toggle.Item {...props} style={[a.flex_grow]}> + <Toggle.Item {...props} style={[a.flex_grow, a.flex_1]}> <ButtonInner>{children}</ButtonInner> </Toggle.Item> ) |