diff --git a/src/components/modals/gift/info/GiftInfoModal.tsx b/src/components/modals/gift/info/GiftInfoModal.tsx index b2c192efa..3e80752a6 100644 --- a/src/components/modals/gift/info/GiftInfoModal.tsx +++ b/src/components/modals/gift/info/GiftInfoModal.tsx @@ -308,7 +308,7 @@ const GiftInfoModal = ({ > - {contextMenu} + {isOpen && contextMenu} ); @@ -586,7 +586,7 @@ const GiftInfoModal = ({ }; }, [ typeGift, savedGift, renderingTargetPeer, giftSticker, lang, canUpdate, canConvertDifference, isSender, oldLang, - gift, giftAttributes, renderFooterButton, isTargetChat, SettingsMenuButton, + gift, giftAttributes, renderFooterButton, isTargetChat, SettingsMenuButton, isOpen, ]); return (