diff --git a/src/hooks/api/advertiser/p2p-advertiser/useAdvertiserList.ts b/src/hooks/api/advertiser/p2p-advertiser/useAdvertiserList.ts index 671e9d5f..0ca568a2 100644 --- a/src/hooks/api/advertiser/p2p-advertiser/useAdvertiserList.ts +++ b/src/hooks/api/advertiser/p2p-advertiser/useAdvertiserList.ts @@ -14,7 +14,11 @@ const useAdvertiserList = (payload?: THookPayload) => { if (!payload?.advertiser_name) { delete payload?.advertiser_name; } - const { data, ...rest } = useP2pAdvertiserList({ ...payload, refetchOnWindowFocus: false }); + const { data, ...rest } = useP2pAdvertiserList({ + payload, + queryKey: ['p2p_advertiser_list', payload], + refetchOnWindowFocus: false, + }); // Add additional information to the 'p2p_advertiser_list' data const modified_data = useMemo(() => {