Skip to content

Commit b4e0de2

Browse files
committed
Updated docs link for example of hierarchal data
1 parent f053fc3 commit b4e0de2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/menus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ One thing you may have noticed is that Menu Items will be returned in a flat-lis
134134

135135
There's a good chance you might need to convert a flat list into a hierarchical list in the consumer application to be used in a component such as a Checkbox Tree or Dropdown Menu, for example.
136136

137-
> You can see this technique in action in the codebase for the website you're reading [here](https://github.com/wp-graphql/wpgraphql.com/blob/master/src/components/DocsSidebar.js#L8-L26).
137+
> You can see this technique in action in the codebase for the website you're reading [here](https://github.com/wp-graphql/wpgraphql.com/blob/master/src/components/Docs/DocsNav.js#L8-L39).
138138
139139
Given the query above, we might have a payload of data like so:
140140

0 commit comments

Comments
 (0)