Bug fix
This commit is contained in:
1 parent
79fed3cc28
commit
853b158dcf
3 files changed
+91
-90
No files matched your search
@@ -34,6 +34,10 @@ const Account: Component<{}> = (props) => {
|
||||
const newAccounts: any = await dispatch({
|
||||
action: 'getAccounts',
|
||||
});
|
||||
console.log({
|
||||
caller: 'Account / handleClickOpen',
|
||||
newAccounts,
|
||||
});
|
||||
setAccounts([{ id: '--new--', name: t('newAccount') }, ...newAccounts]);
|
||||
setAccount(
|
||||
cloneDeep(getAccountById(accounts(), settings().currentAccountId))
|
||||
|
||||
Reference in new issue
Block a user