Fix spoiler toggle button being able to submit compose form (#36736)

This commit is contained in:
diondiondion 2025-11-05 15:00:42 +01:00 committed by GitHub
parent 35bd985727
commit 1b8d1cd6e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}