fixed bug

This commit is contained in:
AmirHossein Mahmoodi
2023-12-20 17:27:48 +03:30
parent 7f54319b6f
commit da28feabcf
10 changed files with 53 additions and 13 deletions

View File

@@ -5,6 +5,7 @@ import {GET_SIDEBAR_NOTIFICATION} from "@/core/data/apiRoutes";
import UserInfo from "@/middlewares/UserInfo";
import {useTranslations} from "next-intl";
import moment from "jalali-moment";
import headerItems from "@/core/data/headerItems";
const DashboardLayout = (props) => {
const {user} = useUser()
@@ -17,6 +18,7 @@ const DashboardLayout = (props) => {
user_introduction={user.phone_number}
headerProfileItems={headerProfileItems}
headerSubtitle={`${t('today')} ${moment().locale('fa').format('LL')}`}
HeaderItem={headerItems}
sidebarMenu={sidebarMenu}
urlNotification={GET_SIDEBAR_NOTIFICATION}
BC_segmentsToRemove={['navgan', '[id]']}