aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/react/components/container/View.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/react/components/container/View.js b/src/client/react/components/container/View.js
index be550cd..7539609 100644
--- a/src/client/react/components/container/View.js
+++ b/src/client/react/components/container/View.js
@@ -54,11 +54,12 @@ class View extends React.Component {
View.propTypes = {
user: PropTypes.string,
+ week: PropTypes.number.isRequired,
dispatch: PropTypes.func.isRequired,
- schedules: PropTypes.objectOf(PropTypes.shape({
+ schedules: PropTypes.objectOf(PropTypes.objectOf(PropTypes.shape({
state: PropTypes.string.isRequired,
htmlStr: PropTypes.string,
- })).isRequired,
+ }))).isRequired,
};
View.defaultProps = {