MSP-3074 ThemeProvider change to ConfigProvider
This commit is contained in:
1 parent
7ac446d783
commit
c598e0dde8
11 files changed
+34
-30
No files matched your search
@@ -1,16 +1,15 @@
|
||||
import {useEffect, useState} from "react";
|
||||
import {Navigate, Outlet, useNavigate} from 'react-router-dom';
|
||||
import {Menu} from 'antd';
|
||||
import Header from "../../components/Header";
|
||||
import useRole from "../../hooks/useRole.tsx";
|
||||
import {PermissionKeys} from "../../types/roles.type.ts";
|
||||
import {Menu} from 'antd';
|
||||
import {useEffect, useState} from "react";
|
||||
import {MenuItemKeys, menuKeys} from "../../types/layout.type.ts";
|
||||
import {routePaths} from "../../constants/routes.ts";
|
||||
import {StateProfileStatus} from "../../redusers/ProfileSlice.ts";
|
||||
import {useAppSelector} from "../../hooks/redux.ts";
|
||||
import './layout.scss'
|
||||
|
||||
|
||||
function Layout() {
|
||||
const {hasPermission} = useRole();
|
||||
const navigate = useNavigate();
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
.layout {
|
||||
min-height: calc(100vh - 96px)
|
||||
min-height: calc(100vh - 96px);
|
||||
width: 100%;
|
||||
}
|
||||
Reference in new issue
Block a user