Progressing into the implementation of the Account dialog.

This commit is contained in:
vdv committed 2022-12-25 22:09:52 +01:00
1 parent 5ca12b6780
commit 5dbf080190
4 files changed
+27 -10

No files matched your search

+1 -4
View File
@@ -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',