Skip to content

Commit

Permalink
refactor: update color modeshandling
Browse files Browse the repository at this point in the history
  • Loading branch information
mrholek committed Jun 28, 2023
1 parent f4f5743 commit 00fffd1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/AppHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ import { AppHeaderDropdown } from './header/index'
import { logo } from 'src/assets/brand/logo'

const AppHeader = () => {
const { getColorMode, setColorMode } = useColorModes('coreui-free-react-admin-template-theme')
const colorMode = getColorMode()
const { colorMode, setColorMode } = useColorModes('coreui-free-react-admin-template-theme')

const dispatch = useDispatch()
const sidebarShow = useSelector((state) => state.sidebarShow)
Expand Down

0 comments on commit 00fffd1

Please sign in to comment.