File tree Expand file tree Collapse file tree 7 files changed +5
-27
lines changed
Expand file tree Collapse file tree 7 files changed +5
-27
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -13,28 +13,12 @@ import {
1313} from '@coreui/react'
1414import CIcon from '@coreui/icons-react'
1515
16- import {
17- AppBreadcrumb ,
18- AppHeaderDropdown ,
19- AppHeaderDropdownMssg ,
20- AppHeaderDropdownNotif ,
21- AppHeaderDropdownTasks ,
22- } from '../containers/index'
16+ import { AppBreadcrumb , AppHeaderDropdown } from '../containers/index'
2317
2418const AppHeader = ( ) => {
2519 const dispatch = useDispatch ( )
2620 const sidebarShow = useSelector ( ( state ) => state . sidebarShow )
2721
28- // const toggleSidebar = () => {
29- // const val = [true, 'responsive'].includes(sidebarShow) ? false : 'responsive'
30- // dispatch({ type: 'set', sidebarShow: val })
31- // }
32-
33- // const toggleSidebarMobile = () => {
34- // const val = [false, 'responsive'].includes(sidebarShow) ? true : 'responsive'
35- // dispatch({ type: 'set', sidebarShow: val })
36- // }
37-
3822 return (
3923 < CHeader position = "sticky" className = "mb-4" >
4024 < CContainer fluid >
Original file line number Diff line number Diff line change 11import React , { Suspense } from 'react'
22import { Redirect , Route , Switch } from 'react-router-dom'
3- import { CContainer , CFade } from '@coreui/react'
3+ import { CContainer } from '@coreui/react'
44
55// routes config
66import routes from '../routes'
@@ -26,9 +26,9 @@ const TheContent = () => {
2626 exact = { route . exact }
2727 name = { route . name }
2828 render = { ( props ) => (
29- < CFade >
29+ < >
3030 < route . component { ...props } />
31- </ CFade >
31+ </ >
3232 ) }
3333 />
3434 )
Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ import TheContent from './TheContent'
33import AppFooter from '../components/AppFooter'
44import AppHeader from '../components/AppHeader'
55import AppHeaderDropdown from '../components/header/AppHeaderDropdown'
6- import AppHeaderDropdownMssg from '../components/header/AppHeaderDropdownMssg'
7- import AppHeaderDropdownNotif from '../components/header/AppHeaderDropdownNotif'
8- import AppHeaderDropdownTasks from '../components/header/AppHeaderDropdownTasks'
96import DefaultLayout from '../layout/DefaultLayout'
107import AppSidebar from '../components/AppSidebar'
118
@@ -15,9 +12,6 @@ export {
1512 AppFooter ,
1613 AppHeader ,
1714 AppHeaderDropdown ,
18- AppHeaderDropdownMssg ,
19- AppHeaderDropdownNotif ,
20- AppHeaderDropdownTasks ,
2115 DefaultLayout ,
2216 AppSidebar ,
2317}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const DocsLink = (props) => {
1515 target = "_blank"
1616 className = "card-header-action"
1717 >
18- < small className = "text-muted " > { text || 'docs' } </ small >
18+ < small className = "text-medium-emphasis " > { text || 'docs' } </ small >
1919 </ CLink >
2020 </ div >
2121 )
You can’t perform that action at this time.
0 commit comments