This commit is contained in:
Daniel
2023-06-12 21:53:11 +03:30
parent 099784699a
commit 69a5d2abd2
11 changed files with 675 additions and 386 deletions
@@ -25,7 +25,6 @@ export default function ProfileSettings({
const [profileStatus, setProfileStatus] = useState(true);
const handleProfileStatus = (e: boolean) => {
console.log(e);
setProfileStatus(!e);
};
@@ -60,10 +59,6 @@ export default function ProfileSettings({
setUser({ ...user, oldPassword: undefined, newPassword: undefined });
}, []);
useEffect(() => {
console.log(user.profilePic);
}, [user.profilePic]);
const submit = async () => {
const response = await updateAccount({
...user,