Skip to content

Commit 893e0b1

Browse files
committed
fix(auth): temporary fix for username edit redirect
1 parent 47e95d4 commit 893e0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/views/User/User.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default function Dashboard() {
6060
try {
6161
data.gitAccount = escapeHTML(gitAccount);
6262
await updateUser(data);
63-
navigate(`/admin/user/${data.username}`);
63+
navigate(`/admin/profile`);
6464
} catch {
6565
setIsError(true);
6666
}

0 commit comments

Comments
 (0)