aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/react/components')
-rw-r--r--src/client/react/components/container/Results.js4
-rw-r--r--src/client/react/components/container/Search.js4
-rw-r--r--src/client/react/components/container/View.js4
-rw-r--r--src/client/react/components/container/WeekSelector.js1
-rw-r--r--src/client/react/components/page/User.js1
5 files changed, 14 insertions, 0 deletions
diff --git a/src/client/react/components/container/Results.js b/src/client/react/components/container/Results.js
index 3e8a7ec..68a090b 100644
--- a/src/client/react/components/container/Results.js
+++ b/src/client/react/components/container/Results.js
@@ -52,8 +52,12 @@ Results.propTypes = {
results: PropTypes.arrayOf(PropTypes.string).isRequired,
isExactMatch: PropTypes.bool.isRequired,
selectedResult: PropTypes.string,
+
+ // react-router
match: PropTypes.object.isRequired,
history: PropTypes.object.isRequired,
+
+ // redux
dispatch: PropTypes.func.isRequired,
};
diff --git a/src/client/react/components/container/Search.js b/src/client/react/components/container/Search.js
index cfddaac..b42699f 100644
--- a/src/client/react/components/container/Search.js
+++ b/src/client/react/components/container/Search.js
@@ -125,8 +125,12 @@ Search.propTypes = {
selectedResult: PropTypes.string,
isExactMatch: PropTypes.bool.isRequired,
searchText: PropTypes.string.isRequired,
+
+ // react-router
match: PropTypes.object.isRequired,
history: PropTypes.object.isRequired,
+
+ // redux
dispatch: PropTypes.func.isRequired,
};
diff --git a/src/client/react/components/container/View.js b/src/client/react/components/container/View.js
index 090f5c0..bd75c9c 100644
--- a/src/client/react/components/container/View.js
+++ b/src/client/react/components/container/View.js
@@ -38,8 +38,12 @@ View.propTypes = {
state: PropTypes.string.isRequired,
htmlStr: PropTypes.string,
}))).isRequired,
+
+ // react-router
match: PropTypes.object.isRequired,
location: PropTypes.object.isRequired,
+
+ // redux
dispatch: PropTypes.func.isRequired,
};
diff --git a/src/client/react/components/container/WeekSelector.js b/src/client/react/components/container/WeekSelector.js
index c6c1518..5977c98 100644
--- a/src/client/react/components/container/WeekSelector.js
+++ b/src/client/react/components/container/WeekSelector.js
@@ -33,6 +33,7 @@ const WeekSelector = ({ location, history }) => {
};
WeekSelector.propTypes = {
+ // react-router
location: PropTypes.object.isRequired,
history: PropTypes.object.isRequired,
};
diff --git a/src/client/react/components/page/User.js b/src/client/react/components/page/User.js
index 202d998..ae1dcc2 100644
--- a/src/client/react/components/page/User.js
+++ b/src/client/react/components/page/User.js
@@ -32,6 +32,7 @@ const UserPage = ({ match }) => {
};
UserPage.propTypes = {
+ // react-router
match: PropTypes.object.isRequired,
};