Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lvn-alduin committed Oct 14, 2024
1 parent 714bc27 commit 57032b7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { useCurrentAccount } from "@config/chain"
import type { Market, OutcomeId } from "@api/queries/Market"
import { balancesQuery } from "@api/queries/Balances"
import { coinPricesQuery } from "@api/queries/Prices"
import { LIQUDITY_PORTION } from "@api/mutations/PlaceBet"
import { Coins, USD } from "@utils/coins"
import { useLatestFormValues } from "@utils/forms"
import { getDifferencePercentage } from "@utils/number"
Expand Down Expand Up @@ -79,7 +78,7 @@ const ShowSharesPurchased = (props: ShowSharesPurchasedProps) => {
const { market, betOutcome, coinsAmount } = props
const purchaseResult =
betOutcome !== undefined && coinsAmount !== undefined
? getPurchaseResult(market, betOutcome, coinsAmount, LIQUDITY_PORTION)
? getPurchaseResult(market, betOutcome, coinsAmount)
: undefined

const selectedOutcome = market.possibleOutcomes.find(
Expand Down

0 comments on commit 57032b7

Please sign in to comment.