Skip to content

Commit

Permalink
Refactor destructuring assignment in EarnStrategyDetailsPage
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinciarka committed Oct 25, 2024
1 parent 64c843c commit 1978fc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const revalidate = 60
const EarnStrategyDetailsPage = async ({ params }: EarnStrategyDetailsPageProps) => {
const networkId = subgraphNetworkToId(params.network)

const [selectedVault, strategiesList] = await Promise.all([
const [selectedVault, { vaults: strategiesList }] = await Promise.all([
getVaultDetails({
vaultAddress: params.vaultId,
chainId: networkId,
Expand Down

0 comments on commit 1978fc2

Please sign in to comment.