handle change data and update data in dashboard page for all tabs

This commit is contained in:
Ehsan
2025-06-11 16:52:01 +03:30
parent 72ed07071c
commit bf64271d14
26 changed files with 235 additions and 118 deletions
@@ -33,7 +33,7 @@ function Information({ user, data, setData, userInfo, dataUser }) {
setLoading(true);
request[dataUser ? "patchUserProfile" : "postUserProfile"](
data,
Cookies.get("uuid")
dataUser ? dataUser.uuid : Cookies.get("uuid")
)
.then((res) => {
setLoading(false);