Skip to content

Commit 005d47e

Browse files
committed
Workarround open modal on mobile
1 parent feec36d commit 005d47e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/[locale]/(app)/profile/_components/more-options-modal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export const MoreOptionsModal: FC = () => {
3333
return (
3434
<>
3535
<Button
36-
onPress={onOpen}
36+
// Should use onPress but there's a bug https://github.com/nextui-org/nextui/issues/1796
37+
onClick={onOpen}
3738
isIconOnly
3839
aria-label={t('title')}
3940
variant="light"

0 commit comments

Comments
 (0)