Skip to content

Commit 878e855

Browse files
committed
fix: add type='button' to GlobalModal close button
1 parent 371670f commit 878e855

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Modal/GlobalModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export const GlobalModal = ({
7070
className='str-chat__modal__close-button'
7171
ref={closeRef}
7272
title={t('Close')}
73+
type='button'
7374
>
7475
<CloseIconRound />
7576
</button>

0 commit comments

Comments
 (0)