Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit d98ca45

Browse files
Kerumenrakannimer
authored andcommitted
style(gatsby-theme-docz): collapse NavGroup by default (#1202)
1 parent 78d2bca commit d98ca45

File tree

1 file changed

+1
-1
lines changed
  • core/gatsby-theme-docz/src/components/NavGroup

1 file changed

+1
-1
lines changed

core/gatsby-theme-docz/src/components/NavGroup/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { ChevronDown } from '../Icons'
88

99
export const NavGroup = ({ item }) => {
1010
const { menu } = item
11-
const [subheadingsVisible, setShowsubheadings] = React.useState(true)
11+
const [subheadingsVisible, setShowsubheadings] = React.useState(false)
1212
const toggleSubheadings = () => setShowsubheadings(!subheadingsVisible)
1313

1414
return (

0 commit comments

Comments
 (0)