Skip to content

Commit

Permalink
added referencelibrary under AppWrapper to get the header dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierJM committed Sep 10, 2018
1 parent c6fc639 commit 21266c2
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 70 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ centers.js
.vscode/
.DS_Store
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
Expand Down
2 changes: 1 addition & 1 deletion client/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ loggedIn.route('/externallinkpages', {
isAuthRequired().route('/reference/:_id', {
name: 'ReferenceLibrary',
action(queryParams) {
mount(ReferenceLibrary, {});
mount(AppWrapper, { children: <ReferenceLibrary /> });
},
});

Expand Down
Loading

0 comments on commit 21266c2

Please sign in to comment.