We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cfc349 commit 69e4fceCopy full SHA for 69e4fce
src/components/Navigation.tsx
@@ -1,10 +1,5 @@
1
import { useEffect, useState } from 'react'
2
-import {
3
- Nav,
4
- NavList,
5
- PageSidebar,
6
- PageSidebarBody,
7
-} from '@patternfly/react-core'
+import { Nav, NavList, PageSidebarBody } from '@patternfly/react-core'
8
import { useStore } from '@nanostores/react'
9
import { isNavOpen } from '../stores/navStore'
10
import { NavSection } from './NavSection'
@@ -17,7 +12,6 @@ interface NavigationProps {
17
12
export const Navigation: React.FunctionComponent<NavigationProps> = ({
18
13
navEntries,
19
14
}: NavigationProps) => {
20
- const $isNavOpen = useStore(isNavOpen)
21
15
const [activeItem, setActiveItem] = useState('')
22
16
23
useEffect(() => {
0 commit comments