From bfa9758c9bcc68b9206702115624c37876495892 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Tue, 25 Apr 2023 18:42:01 +0400 Subject: [PATCH] Status Picker: Fix error after buying premium (#3073) --- src/components/common/CustomEmojiPicker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/CustomEmojiPicker.tsx b/src/components/common/CustomEmojiPicker.tsx index 07e606488..7739932d3 100644 --- a/src/components/common/CustomEmojiPicker.tsx +++ b/src/components/common/CustomEmojiPicker.tsx @@ -206,7 +206,7 @@ const CustomEmojiPicker: FC = ({ } } else if (isStatusPicker) { const defaultStatusIconsPack = stickerSetsById[defaultStatusIconsId!]; - if (defaultStatusIconsPack.stickers?.length) { + if (defaultStatusIconsPack?.stickers?.length) { const stickers = (defaultStatusIconsPack.stickers || []).concat(recentCustomEmojis || []); defaultSets.push({ ...defaultStatusIconsPack,