mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-04-28 20:55:30 +08:00
fix: stamps query key
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user