Skip to content

Commit 3506310

Browse files
committed
fix REXInfo import error
1 parent add8eb7 commit 3506310

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/pages/earn/step/bootstrap.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import Form from '~/components/elements/form.svelte'
88
import InputAsset from '~/components/elements/input/asset.svelte'
99
import InputLabel from '~/components/elements/input/label.svelte'
10-
import {REXInfo} from '../types'
10+
import type {REXInfo} from '../types'
1111
1212
export let amount: string
1313
export let availableTokens: Asset

src/pages/resources/components/forms/powerup.svelte

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
[activeBlockchain, amount, powerupPrice],
3434
([$activeBlockchain, $amount, $powerupPrice]) => {
3535
if ($activeBlockchain && $powerupPrice) {
36+
3637
return Asset.from(
3738
Number($powerupPrice.value) * Number($amount),
3839
$activeBlockchain.coreTokenSymbol

0 commit comments

Comments
 (0)