mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-27 18:10:58 +00:00
Emoji: Fix autoplay incorrectly being applied (#36503)
This commit is contained in:
parent
28339cad6d
commit
7530f06dee
|
|
@ -63,7 +63,7 @@ export const AnimateEmojiProvider = polymorphicForwardRef<
|
||||||
|
|
||||||
// If there's a parent context or GIFs autoplay, we don't need handlers.
|
// If there's a parent context or GIFs autoplay, we don't need handlers.
|
||||||
const parentContext = useContext(AnimateEmojiContext);
|
const parentContext = useContext(AnimateEmojiContext);
|
||||||
if (parentContext !== null || autoPlayGif === true) {
|
if (parentContext !== null) {
|
||||||
return (
|
return (
|
||||||
<Wrapper
|
<Wrapper
|
||||||
{...props}
|
{...props}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user