diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-01-28 15:43:11 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-01-28 15:43:11 +0100 |
commit | 8670ada517bc8beb69d152c82f282322b9ea8d64 (patch) | |
tree | de3d52fcdf48a69806a41e408065b7f119206610 /src/client/react/components/page | |
parent | 0c99c0b4d84f53675cc3d42fa518879789cc86b0 (diff) |
Implement week selector in the view
Diffstat (limited to 'src/client/react/components/page')
-rw-r--r-- | src/client/react/components/page/User.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/react/components/page/User.js b/src/client/react/components/page/User.js index 980070f..72e92c2 100644 --- a/src/client/react/components/page/User.js +++ b/src/client/react/components/page/User.js @@ -26,7 +26,8 @@ const App = ({ match, location }) => { <WeekSelector urlWeek={week} /> </div> </div> - <View user={user} /> + {/* The View object just wants the week number. */} + <View user={user} week={week.week()} /> </div> ); }; |