diff --git a/src/pages/earn/step/bootstrap.svelte b/src/pages/earn/step/bootstrap.svelte index 80f4d290..8e41e32b 100644 --- a/src/pages/earn/step/bootstrap.svelte +++ b/src/pages/earn/step/bootstrap.svelte @@ -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 diff --git a/src/pages/resources/components/forms/powerup.svelte b/src/pages/resources/components/forms/powerup.svelte index 34bd2913..f9b77a9c 100644 --- a/src/pages/resources/components/forms/powerup.svelte +++ b/src/pages/resources/components/forms/powerup.svelte @@ -33,6 +33,7 @@ [activeBlockchain, amount, powerupPrice], ([$activeBlockchain, $amount, $powerupPrice]) => { if ($activeBlockchain && $powerupPrice) { + return Asset.from( Number($powerupPrice.value) * Number($amount), $activeBlockchain.coreTokenSymbol