diff options
| author | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-03 23:59:33 +0300 |
|---|---|---|
| committer | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-03 23:59:33 +0300 |
| commit | 9c65a9c271dfda5ea17c9d909bc9e7e6d0c040ab (patch) | |
| tree | 9df45f5df63fb509e1b7cdac81659c4713287d70 /src/components/header/authdialog/RegisterForm.tsx | |
| parent | 1d20080db8a26e4b7dd4071daac1166142592afa (diff) | |
add profile
Diffstat (limited to 'src/components/header/authdialog/RegisterForm.tsx')
| -rw-r--r-- | src/components/header/authdialog/RegisterForm.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/header/authdialog/RegisterForm.tsx b/src/components/header/authdialog/RegisterForm.tsx index c8ddb55..0370671 100644 --- a/src/components/header/authdialog/RegisterForm.tsx +++ b/src/components/header/authdialog/RegisterForm.tsx @@ -41,12 +41,8 @@ export default function RegisterForm() { if (error) { setErrors(error); } else if (data) { - setUser({ - id: data.id, - username: data.username, - }); + setUser(data); } - setLoading(false); }; |
