diff --git a/src/blockchain/wallet.js b/src/blockchain/wallet.js index 710ac99..95738ba 100644 --- a/src/blockchain/wallet.js +++ b/src/blockchain/wallet.js @@ -5,14 +5,14 @@ export let provider = null function onChainChanged(chainId) { chainId = Number(chainId) - console.log('chain changed', chainId) + // console.log('chain changed', chainId) const store = useStore() store.chainId = chainId provider = new ethers.BrowserProvider(window.ethereum, chainId) } function onAccountsChanged(accounts) { - console.log('accounts changed', accounts) + // console.log('accounts changed', accounts) const store = useStore() if( accounts.length === 0 ) { store.account = null @@ -47,12 +47,12 @@ const errorHandlingProxy = { if( x.code === 'NETWORK_ERROR' ) { // todo available chain names // store.error('Wrong Blockchain', 'Your wallet is connected to a different blockchain. Please select Arbitrum in your wallet.') // todo hardcoded arb - console.log('wallet chain error', x) + console.error('wallet chain error', x) // store.chainId = store.chainInfo[] throw x } else { - console.log('wallet error') + console.error('wallet error') throw x } } diff --git a/src/components/Alerts.vue b/src/components/Alerts.vue index 0022ef5..2f73692 100644 --- a/src/components/Alerts.vue +++ b/src/components/Alerts.vue @@ -5,7 +5,6 @@ diff --git a/src/components/TimedOrderEntry.vue b/src/components/TimedOrderEntry.vue index c11ddb8..3aae516 100644 --- a/src/components/TimedOrderEntry.vue +++ b/src/components/TimedOrderEntry.vue @@ -5,7 +5,18 @@ Split order across time - + + + + + + {{ s.chain.name }} @@ -18,28 +29,28 @@ Searching for {{pairSymbol}} pools... - +
+ v-model="amount" :rules="[validateRequired,validateAmount]" v-auto-select> + :model-value="tranches" :rules="[validateRequired,validateTranches]" v-auto-select> + :label="intervalIsTotal ? 'Completion time' : 'Time between tranches'" v-auto-select>