From 0d3ecc87f988ab9c168c200eb70ce8d26b3478b3 Mon Sep 17 00:00:00 2001 From: saltrafael <76502841+saltrafael@users.noreply.github.com> Date: Wed, 8 Dec 2021 11:17:22 -0300 Subject: [PATCH] Fix cancel sending sticker (#447) --- ui/component/commentCreate/view.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/component/commentCreate/view.jsx b/ui/component/commentCreate/view.jsx index 07de2d431b2..7f1ebedc5f6 100644 --- a/ui/component/commentCreate/view.jsx +++ b/ui/component/commentCreate/view.jsx @@ -671,6 +671,7 @@ export function CommentCreate(props: Props) { } else if (stickerSelector || isReviewingStickerComment) { setReviewingStickerComment(false); setStickerSelector(false); + setSelectedSticker(null); } else if (isReply && !minTip && onCancelReplying) { onCancelReplying(); }