[Glitch] Fix “Alt text” button submitting form in moderation interface
Port 9954acf61d2b0d2ba4b41d50c7a5bd8d960434b8 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
93bdb16817
commit
26ee915d0b
@ -33,6 +33,7 @@ export const AltTextBadge: React.FC<{
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<button
|
<button
|
||||||
|
type='button'
|
||||||
ref={anchorRef}
|
ref={anchorRef}
|
||||||
className='media-gallery__alt__label'
|
className='media-gallery__alt__label'
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user