Skip to content

Commit

Permalink
frontend min_fill_amount -> size
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Oct 1, 2024
1 parent af172ae commit 8bc9680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function DetailsContent({ order }: { order: OrderMetadata }) {
)
const remainingAmount = order.data.amount - filledAmount
const formattedMinFillAmount = formatNumber(
order.data.min_fill_amount || BigInt(0),
order.data.min_fill_size || BigInt(0),
token.decimals,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function EmptyContent({ order }: { order: OrderMetadata }) {
token.decimals,
)
const formattedMinFillAmount = formatNumber(
order.data.min_fill_amount || BigInt(0),
order.data.min_fill_size || BigInt(0),
token.decimals,
)
const title = `${order.data.side === "Buy" ? "Buy" : "Sell"} ${formattedTotalAmount} ${token.ticker} ${
Expand Down

0 comments on commit 8bc9680

Please sign in to comment.