mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-27 18:10:58 +00:00
Fix spoiler toggle button being able to submit compose form (#36736)
This commit is contained in:
parent
35bd985727
commit
1b8d1cd6e4
|
|
@ -49,6 +49,7 @@ export const StatusBanner: React.FC<{
|
||||||
|
|
||||||
<button
|
<button
|
||||||
ref={buttonRef}
|
ref={buttonRef}
|
||||||
|
type='button'
|
||||||
className='link-button'
|
className='link-button'
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
aria-describedby={descriptionId}
|
aria-describedby={descriptionId}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user