Skip to content

Commit

Permalink
fix(@nftx/trade): methodParameters being undefined for a fallback quo…
Browse files Browse the repository at this point in the history
…te causes errors elsewhere
  • Loading branch information
jackmellis committed Jun 4, 2024
1 parent 3846174 commit ee7302f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/trade/src/price/fetchAmmQuote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const fallbackQuote = {
estimatedGas: Zero,
feePrice: Zero,
items: [],
methodParameters: undefined as any,
methodParameters: {} as any,
premiumPrice: Zero,
price: Zero,
vTokenPrice: Zero,
Expand Down

0 comments on commit ee7302f

Please sign in to comment.