Sort Gifts Menu: Fix icon for sort item (#5713)

This commit is contained in:
Alexander Zinchuk 2025-03-07 15:17:00 +01:00
parent 32146587fb
commit 8484935406

View File

@ -517,7 +517,7 @@ const RightHeader: FC<OwnProps & StateProps> = ({
autoClose={false}
>
<MenuItem
icon={giftsSortType === 'byDate' ? 'calendar-filter' : 'cash-circle'}
icon={giftsSortType === 'byDate' ? 'cash-circle' : 'calendar-filter'}
// eslint-disable-next-line react/jsx-no-bind
onClick={() => updateGiftProfileFilter(
{ peerId: chatId, filter: { sortType: giftsSortType === 'byDate' ? 'byValue' : 'byDate' } },