Composer: Fix hook deps for animation (#4191)
This commit is contained in:
parent
b94999c204
commit
ce15975b42
@ -102,7 +102,7 @@ const ComposerEmbeddedMessage: FC<OwnProps & StateProps> = ({
|
||||
|| (sender && forwardedMessagesCount),
|
||||
);
|
||||
const canAnimate = useAsyncRendering(
|
||||
[isShown],
|
||||
[isForwarding],
|
||||
isForwarding ? FORWARD_RENDERING_DELAY : undefined,
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user