Skip to content

Commit 69f32e1

Browse files
committed
fix: cannot always create users
fixes #211
1 parent 3fd5605 commit 69f32e1

File tree

1 file changed

+1
-0
lines changed
  • src/views/authentication/AccountsPane

1 file changed

+1
-0
lines changed

src/views/authentication/AccountsPane/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export function AccountsPane(props: AccountsPaneProps) {
9191

9292
const createUser = useStable(() => {
9393
setIsEditing(true);
94+
setCurrentUser(null);
9495
setEditingName("");
9596
setEditingPassword("");
9697
setEditingComment("");

0 commit comments

Comments
 (0)