Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs(website): Fixed useLayoutNavigation hook example in creating a n…
…ew app
  • Loading branch information
mlaursen committed May 17, 2021
1 parent 86e75bf commit 1cde856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/documentation/src/guides/creating-a-new-app.md
Expand Up @@ -96,9 +96,9 @@ behavior to start with.
return (
- <div className="App">
+ <Layout
+ {...useLayoutNavigation(navItems, window.location.pathname)}
+ appBarTitle="react-md App"
+ navHeaderTitle="My App"
+ treeProps={useLayoutNavigation(navItems, window.location.pathname)}
+ >
+ <div className="App">
<header className="App-header">
Expand Down

0 comments on commit 1cde856

Please sign in to comment.