Skip to content

Commit

Permalink
Fix: Header Section Error FrontendFreaks#131
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjawalsh99 committed Oct 5, 2023
1 parent 5b8877b commit 279c769
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/(docs)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Icons } from "@/components/icons";
import { DocSideNav } from "@/components/layout/docs-nav";
import MainNav from "@/components/layout/main-nav";
import { ModeToggle } from "@/components/mode-toggle";
import { navConfig } from "@/config/nav";
import { DocumentationConfig } from "@/config/docs";
import { docsConfig } from "@/config/sidebar";
import Link from "next/link";
Expand All @@ -16,7 +17,7 @@ const CourseRootLayout = ({ children }: BatchRootLayoutProps) => {
<div className="flex min-h-screen flex-col">
<header className="sticky top-0 z-40 w-full border-b bg-background">
<div className="container flex h-16 items-center space-x-4 justify-between sm:space-x-0">
<MainNav items={docsConfig.mainNav}>
<MainNav items={navConfig}>
<DocSideNav items={DocumentationConfig} />
</MainNav>

Expand Down

0 comments on commit 279c769

Please sign in to comment.