Skip to content

Commit

Permalink
fix: AccountMenuDialog isEdit
Browse files Browse the repository at this point in the history
  • Loading branch information
lgou2w committed Dec 5, 2024
1 parent c0665c4 commit 5fffa59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/account/AccountMenuDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ function AccountMenuDialogForm (props: AccountMenuDialogFormProps) {

setBusy(true)
try {
if (isEdit) {
if (!isEdit) {
await handleCreateAccount(uid, data)
} else {
await handleUpdateAccount(uid, data)
Expand Down

0 comments on commit 5fffa59

Please sign in to comment.