fix: stamps query key

This commit is contained in:
fbwoolf
2023-05-24 11:44:44 -05:00
committed by Fara Woolf
parent 0803ce6ad7
commit 647cbee107

View File

@@ -28,7 +28,7 @@ export function useStampsByAddressQuery<T extends unknown = FetchStampsByAddress
options?: AppUseQueryConfig<FetchStampsByAddressResp, T> options?: AppUseQueryConfig<FetchStampsByAddressResp, T>
) { ) {
return useQuery({ return useQuery({
queryKey: [QueryPrefixes.StampsByAddress], queryKey: [QueryPrefixes.StampsByAddress, address],
queryFn: () => fetchStampsByAddress(address), queryFn: () => fetchStampsByAddress(address),
...options, ...options,
}); });