[Glitch] Fix spoiler toggle button being able to submit compose form

Port 1b8d1cd6e4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion authored and Claire committed 2025-11-06 12:37:39 +01:00
1 parent ce080a1ca8
commit e1b7da0985
1 file changed
+1
@@ -49,6 +49,7 @@ export const StatusBanner: React.FC<{
<button
ref={buttonRef}
type='button'
className='link-button'
onClick={onClick}
aria-describedby={descriptionId}