avatar update and manage user table

This commit is contained in:
2026-04-07 17:54:42 +07:00
parent e3065e1bf5
commit 9159b2f0e6
10 changed files with 332 additions and 191 deletions

View File

@@ -70,6 +70,7 @@ export default function SignInForm() {
if (res.status === true) {
toast.success("Đăng nhập thành công!");
const data = await apiGetCurrentUser();
console.log("Current User Data:", data);
if (data?.data) {
dispatch(setUserData(data.data));