···1111}
12121313export function getCurrentAccount() {
1414+ if (!window.__IGNORE_GET_ACCOUNT_ERROR__) {
1515+ // Track down getCurrentAccount() calls before account-based states are initialized
1616+ console.error('getCurrentAccount() called before states are initialized');
1717+ if (import.meta.env.DEV) console.trace();
1818+ }
1419 const currentAccount = store.session.get('currentAccount');
1520 const account = getAccount(currentAccount);
1621 return account;