more tracking; hide arb from welcome splash

This commit is contained in:
tim
2025-04-15 19:21:39 -04:00
parent f35b30e337
commit 14b8b50812
11 changed files with 48 additions and 17 deletions

View File

@@ -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()