Skip to content

Commit

Permalink
Merge pull request #283 from alchemix-finance/fix/historic-data-query
Browse files Browse the repository at this point in the history
FIX:historic query redundant key
  • Loading branch information
t0rbik authored Nov 25, 2024
2 parents 1166642 + 6f0f21e commit 43aa0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/vaults/row/VaultInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const VaultInfo = ({ vault }: VaultInfoProps) => {
});

const { data: historicData, isPending: isPendingHistoricApr } = useQuery({
queryKey: [QueryKeys.HistoricYield, chain.id, vault.address],
queryKey: [QueryKeys.HistoricYield, chain.id],
queryFn: async () => {
if (chain.id === 250)
throw new Error("Historic yield data is not supported on this chain");
Expand Down

0 comments on commit 43aa0f5

Please sign in to comment.