more tracking; hide arb from welcome splash
This commit is contained in:
@@ -7,6 +7,7 @@ import {defineStore} from "pinia";
|
||||
import {computed, ref} from "vue";
|
||||
import {metadataMap, version} from "@/version.js";
|
||||
import {CancelAllTransaction, TransactionState, TransactionType} from "@/blockchain/transaction.js";
|
||||
import {track} from "@/track.js";
|
||||
|
||||
|
||||
export let provider = null
|
||||
@@ -90,6 +91,7 @@ function changeAccounts(chainId, accounts) {
|
||||
const addr = accounts[0]
|
||||
if (addr !== store.account) {
|
||||
console.log('account logged in', addr)
|
||||
track('login', {chainId, address: addr})
|
||||
store.account = addr
|
||||
store.vaults = []
|
||||
// one of these two methods will call flushTransactions()
|
||||
|
||||
Reference in New Issue
Block a user