From 8f20bf5299e8e2ce95c87346f755344a4cda27c5 Mon Sep 17 00:00:00 2001 From: Bill Date: Wed, 16 Feb 2022 11:58:39 -0500 Subject: [PATCH] Fix club gifts grid --- .../page/layout/vip-gifts/CatalogLayoutVipGiftsView.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/catalog/views/page/layout/vip-gifts/CatalogLayoutVipGiftsView.tsx b/src/components/catalog/views/page/layout/vip-gifts/CatalogLayoutVipGiftsView.tsx index 0de56d15..d9ca1e9a 100644 --- a/src/components/catalog/views/page/layout/vip-gifts/CatalogLayoutVipGiftsView.tsx +++ b/src/components/catalog/views/page/layout/vip-gifts/CatalogLayoutVipGiftsView.tsx @@ -1,7 +1,7 @@ import { SelectClubGiftComposer } from '@nitrots/nitro-renderer'; import { FC, useCallback } from 'react'; import { LocalizeText } from '../../../../../../api'; -import { Grid } from '../../../../../../common/Grid'; +import { AutoGrid } from '../../../../../../common/AutoGrid'; import { Text } from '../../../../../../common/Text'; import { SendMessageHook } from '../../../../../../hooks'; import { NotificationUtilities } from '../../../../../../views/notification-center/common/NotificationUtilities'; @@ -45,9 +45,9 @@ export const CatalogLayoutVipGiftsView: FC = props => return ( <> { giftsAvailable() } - + { (clubGifts.offers.length > 0) && clubGifts.offers.map(offer => 0)) } onSelect={ selectGift }/>) } - + ) }