From 9ec1b175159c6bb591943ae18a4e6ffb2059c178 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 74d1ddbd7..6fcc2f244 100644 --- a/ui/component/commentCreate/view.jsx +++ b/ui/component/commentCreate/view.jsx @@ -692,6 +692,7 @@ export function CommentCreate(props: Props) { } else if (stickerSelector || isReviewingStickerComment) { setReviewingStickerComment(false); setStickerSelector(false); + setSelectedSticker(null); } else if (isReply && !minTip && onCancelReplying) { onCancelReplying(); }