diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-05 14:59:02 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-05 14:59:02 -0300 |
commit | f68585db5f9ba0f760e22dada474fd7ec2847796 (patch) | |
tree | b1efaf9560df032225f7aa1debdb4e8624261b92 /packages/demobank-ui/src/pages/account/ShowAccountDetails.tsx | |
parent | 58d45fc8aef174027b2855a3cd24b0eb73d6de2e (diff) | |
download | wallet-core-f68585db5f9ba0f760e22dada474fd7ec2847796.tar.xz |
pretty
Diffstat (limited to 'packages/demobank-ui/src/pages/account/ShowAccountDetails.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/account/ShowAccountDetails.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/demobank-ui/src/pages/account/ShowAccountDetails.tsx b/packages/demobank-ui/src/pages/account/ShowAccountDetails.tsx index 8fec0f682..6d5a1c18d 100644 --- a/packages/demobank-ui/src/pages/account/ShowAccountDetails.tsx +++ b/packages/demobank-ui/src/pages/account/ShowAccountDetails.tsx @@ -88,10 +88,11 @@ export function ShowAccountDetails({ async function doUpdate() { if (!submitAccount || !creds) return; await handleError(async () => { - const resp = await api.updateAccount({ - token: creds.token, - username: account, - }, + const resp = await api.updateAccount( + { + token: creds.token, + username: account, + }, submitAccount, ); |