Skip to content

Commit 1cde856

Browse files
committed
docs(website): Fixed useLayoutNavigation hook example in creating a new app
1 parent 86e75bf commit 1cde856

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/documentation/src/guides/creating-a-new-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ behavior to start with.
9696
return (
9797
- <div className="App">
9898
+ <Layout
99-
+ {...useLayoutNavigation(navItems, window.location.pathname)}
10099
+ appBarTitle="react-md App"
101100
+ navHeaderTitle="My App"
101+
+ treeProps={useLayoutNavigation(navItems, window.location.pathname)}
102102
+ >
103103
+ <div className="App">
104104
<header className="App-header">

0 commit comments

Comments
 (0)