diff --git a/components/DocsSidebarNavigation.jsx b/components/DocsSidebarNavigation.jsx index 2ae8501..d1ca716 100644 --- a/components/DocsSidebarNavigation.jsx +++ b/components/DocsSidebarNavigation.jsx @@ -1,7 +1,7 @@ -import { gql } from '@apollo/client' -import clsx from 'clsx' -import Link from 'next/link' -import { useState } from 'react' +import { gql } from '@apollo/client'; +import clsx from 'clsx'; +import Link from 'next/link'; +import { useState } from 'react'; DocsSidebarNavigation.fragment = gql` fragment DocsSidebarNavigationFragment on RootQuery { @@ -18,7 +18,7 @@ DocsSidebarNavigation.fragment = gql` } } } -` +`; export function DocsSidebarNavigation({ className, data, navigation }) { const isActiveSection = (section, currentNode) => { @@ -50,36 +50,28 @@ export function DocsSidebarNavigation({ className, data, navigation }) { {navigation.map((section) => (
  • - -

    + +

    {section.title}

    -
    - -
    + + +