aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/container
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-02-19 22:59:35 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-02-19 22:59:35 +0100
commitdf1af158484b25c2a250c3ff3b3c72df2c562bb3 (patch)
treefcec0395a18b89e9da6b7697b87f1cc8d1ec3a74 /src/client/react/components/container
parent5be066cc2714ca6cbd75d8786c859d8767df0ccb (diff)
Simplify schedule state
Diffstat (limited to 'src/client/react/components/container')
-rw-r--r--src/client/react/components/container/View.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/react/components/container/View.js b/src/client/react/components/container/View.js
index b374300..7c0d42c 100644
--- a/src/client/react/components/container/View.js
+++ b/src/client/react/components/container/View.js
@@ -31,10 +31,10 @@ import Loading from '../presentational/Loading';
class View extends React.Component {
static propTypes = {
- schedules: PropTypes.objectOf(PropTypes.objectOf(PropTypes.shape({
+ schedules: PropTypes.objectOf(PropTypes.shape({
state: PropTypes.string.isRequired,
htmlStr: PropTypes.string,
- }))).isRequired,
+ })).isRequired,
// react-router
match: PropTypes.object.isRequired,