diff --git a/src/giftCards/components/GiftCardCustomerCard/CustomerGiftCardsCard.tsx b/src/giftCards/components/GiftCardCustomerCard/CustomerGiftCardsCard.tsx index 639c75bcb..cd17ab6ea 100644 --- a/src/giftCards/components/GiftCardCustomerCard/CustomerGiftCardsCard.tsx +++ b/src/giftCards/components/GiftCardCustomerCard/CustomerGiftCardsCard.tsx @@ -36,7 +36,8 @@ const CustomerGiftCardsCard: React.FC = () => { filter: { usedBy: [id] } - } + }, + skip: !id }); const closeCreateDialog = () => setOpenCreateDialog(false);