Skip to content

Commit c35daab

Browse files
committed
docs: update theme
1 parent 47008f6 commit c35daab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/docs/src/components/Header.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ import {
2828
import { AppContext } from './../AppContext'
2929

3030
const Header: FC = () => {
31-
const { getColorMode, setColorMode } = useColorModes('coreui-react-docs-theme')
32-
const colorMode = getColorMode()
31+
const { colorMode, setColorMode } = useColorModes('coreui-react-docs-theme')
3332
return (
3433
<>
3534
<AppContext.Consumer>

0 commit comments

Comments
 (0)