Skip to content

Commit 9aa2d61

Browse files
committed
docs: update theme
1 parent 10f3036 commit 9aa2d61

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/docs/components/Header.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const Header: FC = ({ ...props }) => {
3939
<CNavItem href="https://community.coreui.io/">
4040
<CIcon icon={cibDiscourse} size="xl" />
4141
</CNavItem>
42-
<CNavItem href="https://github.com/coreui">
42+
<CNavItem href="https://github.com/coreui/coreui-react/">
4343
<CIcon icon={cibGithub} size="xl" />
4444
</CNavItem>
4545
<CNavItem href="https://twitter.com/core_ui">

src/docs/components/Sidebar.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const Sidebar: FC<SidebarProps> = ({ ...props }) => {
3333
visible={context.sidebarVisible}
3434
onVisibleChange={(value) => {
3535
context.setSidebarVisible(value)
36-
console.log(value)
3736
}}
3837
>
3938
<CSidebarBrand className="justify-content-start ps-3">

src/docs/templates/Docs.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const components = {
2424
}
2525

2626
const DocsLayout: FC = ({ data: { mdx } }) => {
27-
const [currentSidebarVisible, setCurrentSidebarVisible] = useState()
2827
const [sidebarVisible, setSidebarVisible] = useState()
2928
return (
3029
<>

0 commit comments

Comments
 (0)