Fix spoiler toggle button being able to submit compose form (#36736)
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user