Skip to content

Commit

Permalink
fix REXInfo import error
Browse files Browse the repository at this point in the history
  • Loading branch information
ttwishing committed Oct 2, 2024
1 parent add8eb7 commit 3506310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/earn/step/bootstrap.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import Form from '~/components/elements/form.svelte'
import InputAsset from '~/components/elements/input/asset.svelte'
import InputLabel from '~/components/elements/input/label.svelte'
import {REXInfo} from '../types'
import type {REXInfo} from '../types'
export let amount: string
export let availableTokens: Asset
Expand Down
1 change: 1 addition & 0 deletions src/pages/resources/components/forms/powerup.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
[activeBlockchain, amount, powerupPrice],
([$activeBlockchain, $amount, $powerupPrice]) => {
if ($activeBlockchain && $powerupPrice) {
return Asset.from(
Number($powerupPrice.value) * Number($amount),
$activeBlockchain.coreTokenSymbol
Expand Down

0 comments on commit 3506310

Please sign in to comment.