handle change data and update data in dashboard page for all tabs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user