From 08672c0a1ebcafb20fc6c292c3fad3fca8c8b8f5 Mon Sep 17 00:00:00 2001 From: Yasiu1376 Date: Wed, 12 Jul 2023 11:01:07 +0330 Subject: [PATCH] implement user profile --- .../dashboard/edit-profile/index.jsx | 142 +++++++++++++++--- 1 file changed, 117 insertions(+), 25 deletions(-) diff --git a/src/components/dashboard/edit-profile/index.jsx b/src/components/dashboard/edit-profile/index.jsx index 3dd5468..cfa16d7 100644 --- a/src/components/dashboard/edit-profile/index.jsx +++ b/src/components/dashboard/edit-profile/index.jsx @@ -6,6 +6,7 @@ import { Box, Button, Container, + Grid, Paper, Stack, TextField, @@ -50,7 +51,6 @@ const DashboardEditProfile = () => { const handleSubmit = (values, { setSubmitting }) => { // const formData = new FormData(); // formData.append("email", values.expert_email); - // if (values.change_avatar !== false) { // editAvatar(values.expert_avatar) // .then(() => { @@ -140,30 +140,122 @@ const DashboardEditProfile = () => { changeFlag="change_avatar" /> - - - + + + + + + + + + + + + + + + + + +