mirror of
https://github.com/mastodon/mastodon.git
synced 2025-12-12 02:12:48 +00:00
Fix “Alt text” button submitting form in moderation interface (#35147)
This commit is contained in:
parent
5039e9d474
commit
973eb0a1d3
|
|
@ -28,6 +28,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…
Reference in New Issue
Block a user