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 b832277 commit ffad95bCopy full SHA for ffad95b
src/components/Navigation.tsx
@@ -1,12 +1,5 @@
1
import { useEffect, useState } from 'react'
2
-import {
3
- Nav,
4
- NavList,
5
- PageSidebar,
6
- PageSidebarBody,
7
-} from '@patternfly/react-core'
8
-import { useStore } from '@nanostores/react'
9
-import { isNavOpen } from '../stores/navStore'
+import { Nav, NavList, PageSidebarBody } from '@patternfly/react-core'
10
import { NavSection } from './NavSection'
11
import { type TextContentEntry } from './NavEntry'
12
@@ -17,7 +10,6 @@ interface NavigationProps {
17
export const Navigation: React.FunctionComponent<NavigationProps> = ({
18
navEntries,
19
}: NavigationProps) => {
20
- const $isNavOpen = useStore(isNavOpen)
21
13
const [activeItem, setActiveItem] = useState('')
22
14
23
15
useEffect(() => {
0 commit comments