From 84ce95b2723a0fea5c90bd4ddb88c768f256d6b7 Mon Sep 17 00:00:00 2001 From: Yasiu1376 Date: Sat, 7 Oct 2023 13:47:57 +0330 Subject: [PATCH 1/2] CFE-23 fix call DashboardLayout in change password form --- src/components/dashboard/change-password/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dashboard/change-password/index.jsx b/src/components/dashboard/change-password/index.jsx index b616274..771915b 100644 --- a/src/components/dashboard/change-password/index.jsx +++ b/src/components/dashboard/change-password/index.jsx @@ -1,5 +1,5 @@ import CenterLayout from "@/layouts/CenterLayout"; -import DashboardLayouts from "@/layouts/dashboardLayouts"; +import DashboardLayouts from "@/layouts/DashboardLayout"; import {Container} from "@mui/material"; import ChangePasswordForm from "@/components/dashboard/change-password/change-password-form"; From 96e8d9220894bd73f6c85d588fd4883cf6a49114 Mon Sep 17 00:00:00 2001 From: Yasiu1376 Date: Sat, 7 Oct 2023 14:01:38 +0330 Subject: [PATCH 2/2] CFE-23 change name of DashboardLayouts to DashboardLayout --- src/components/dashboard/change-password/index.jsx | 6 +++--- src/components/dashboard/edit-profile/index.jsx | 6 +++--- src/components/dashboard/first/index.jsx | 4 ++-- src/layouts/DashboardLayout.jsx | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/dashboard/change-password/index.jsx b/src/components/dashboard/change-password/index.jsx index 771915b..74896a6 100644 --- a/src/components/dashboard/change-password/index.jsx +++ b/src/components/dashboard/change-password/index.jsx @@ -1,18 +1,18 @@ import CenterLayout from "@/layouts/CenterLayout"; -import DashboardLayouts from "@/layouts/DashboardLayout"; +import DashboardLayout from "@/layouts/DashboardLayout"; import {Container} from "@mui/material"; import ChangePasswordForm from "@/components/dashboard/change-password/change-password-form"; const DashboardChangePasswordComponent = () => { return ( - + - + ); }; export default DashboardChangePasswordComponent; diff --git a/src/components/dashboard/edit-profile/index.jsx b/src/components/dashboard/edit-profile/index.jsx index 394a7b0..e35e3bf 100644 --- a/src/components/dashboard/edit-profile/index.jsx +++ b/src/components/dashboard/edit-profile/index.jsx @@ -1,6 +1,6 @@ import StyledForm from "@/core/components/StyledForm"; import CenterLayout from "@/layouts/CenterLayout"; -import DashboardLayouts from "@/layouts/DashboardLayout"; +import DashboardLayout from "@/layouts/DashboardLayout"; import useUser from "@/lib/app/hooks/useUser"; import {Box, Container, Grid, Paper, Stack, TextField, Typography,} from "@mui/material"; import * as Yup from "yup"; @@ -54,7 +54,7 @@ const DashboardEditProfile = () => { const validationSchema = Yup.object().shape({}); return ( - + { - + ); }; diff --git a/src/components/dashboard/first/index.jsx b/src/components/dashboard/first/index.jsx index 1785a67..841d677 100644 --- a/src/components/dashboard/first/index.jsx +++ b/src/components/dashboard/first/index.jsx @@ -1,7 +1,7 @@ -import DashboardLayouts from "@/layouts/DashboardLayout"; +import DashboardLayout from "@/layouts/DashboardLayout"; const DashboardFirstComponent = () => { - return ; + return ; }; export default DashboardFirstComponent; diff --git a/src/layouts/DashboardLayout.jsx b/src/layouts/DashboardLayout.jsx index 40b722d..3c62a77 100644 --- a/src/layouts/DashboardLayout.jsx +++ b/src/layouts/DashboardLayout.jsx @@ -1,7 +1,7 @@ import CallWidget from "src/components/layouts/Dashboard/CallWidget"; import Dashboard from "src/components/layouts/Dashboard"; -const DashboardLayouts = (props) => { +const DashboardLayout = (props) => { return ( <> @@ -11,4 +11,4 @@ const DashboardLayouts = (props) => { ); }; -export default DashboardLayouts; +export default DashboardLayout;