Progressing into the implementation of the Account dialog.
This commit is contained in:
1 parent
5ca12b6780
commit
5dbf080190
4 files changed
+27
-10
No files matched your search
@@ -33,10 +33,7 @@ const Account: Component<{}> = (props) => {
|
||||
const newAccounts: any = await dispatch({
|
||||
action: 'getAccounts',
|
||||
});
|
||||
setAccounts([
|
||||
{ id: '--new--', name: t('newAccount') },
|
||||
...newAccounts.rows,
|
||||
]);
|
||||
setAccounts([{ id: '--new--', name: t('newAccount') }, ...newAccounts]);
|
||||
|
||||
console.log({
|
||||
caller: 'Account / handleClickOpen',
|
||||
|
||||
Reference in new issue
Block a user