diff --git a/packages/yoroi-extension/app/containers/wallet/WalletSendPage.js b/packages/yoroi-extension/app/containers/wallet/WalletSendPage.js index b91530bf7e..01a73acaa2 100644 --- a/packages/yoroi-extension/app/containers/wallet/WalletSendPage.js +++ b/packages/yoroi-extension/app/containers/wallet/WalletSendPage.js @@ -32,6 +32,9 @@ import AddNFTDialog from '../../components/wallet/send/WalletSendFormSteps/AddNF import AddTokenDialog from '../../components/wallet/send/WalletSendFormSteps/AddTokenDialog'; import { ampli } from '../../../ampli/index'; import { getNetworkById } from '../../api/ada/lib/storage/database/prepackaged/networks'; +import LoadingSpinner from '../../components/widgets/LoadingSpinner'; +import VerticallyCenteredLayout from '../../components/layout/VerticallyCenteredLayout'; +import FullscreenLayout from '../../components/layout/FullscreenLayout'; const messages = defineMessages({ txConfirmationLedgerNanoLine1: { @@ -145,7 +148,13 @@ class WalletSendPage extends Component { } = this.props.stores; if (!protocolParameters.loadProtocolParametersRequest.wasExecuted) { - return null; + return ( + + + + + + ); } const { actions } = this.props; diff --git a/packages/yoroi-extension/app/stores/toplevel/ProtocolParametersStore.js b/packages/yoroi-extension/app/stores/toplevel/ProtocolParametersStore.js index 383b509e2f..187c0f1e08 100644 --- a/packages/yoroi-extension/app/stores/toplevel/ProtocolParametersStore.js +++ b/packages/yoroi-extension/app/stores/toplevel/ProtocolParametersStore.js @@ -20,6 +20,7 @@ export default class ProtocolParametersStore< async loadProtocolParameters(): Promise { for (const key of Object.keys(networks)) { const networkId = networks[key].NetworkId; + if (networkId === networks.CardanoSanchoTestnet.NetworkId) continue; const protocolParameters = await getProtocolParameters({ networkId }); this.cache.set(networkId, protocolParameters); } diff --git a/packages/yoroi-extension/package-lock.json b/packages/yoroi-extension/package-lock.json index 3d96e73987..a17578714a 100644 --- a/packages/yoroi-extension/package-lock.json +++ b/packages/yoroi-extension/package-lock.json @@ -1,12 +1,12 @@ { "name": "yoroi", - "version": "5.4.400", + "version": "5.4.410", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "yoroi", - "version": "5.4.400", + "version": "5.4.410", "license": "MIT", "dependencies": { "@amplitude/analytics-browser": "^2.1.3", diff --git a/packages/yoroi-extension/package.json b/packages/yoroi-extension/package.json index 52b9a10cbd..82a58370a0 100644 --- a/packages/yoroi-extension/package.json +++ b/packages/yoroi-extension/package.json @@ -1,6 +1,6 @@ { "name": "yoroi", - "version": "5.4.400", + "version": "5.4.410", "description": "Cardano ADA wallet", "scripts": { "dev-mv2": "rimraf dev/ && NODE_OPTIONS=--openssl-legacy-provider babel-node scripts-mv2/build --type=debug --env 'mainnet'",