From fc5096d238bd567675f2008639c2b069a16df76e Mon Sep 17 00:00:00 2001 From: IlyaDoronin Date: Tue, 2 Apr 2024 14:43:00 +0300 Subject: [PATCH] fix: statistics --- src/api/promocode/swr.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/promocode/swr.ts b/src/api/promocode/swr.ts index 8b0da14..51a6155 100644 --- a/src/api/promocode/swr.ts +++ b/src/api/promocode/swr.ts @@ -113,6 +113,7 @@ export function usePromocodes( ...swrResponse, createPromocode, deletePromocode, + promocodeStatistics: promocodeStatistics.data, promocodesCount: promocodesCountRef.current, }; }