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/page/Index.js4
-rw-r--r--src/client/react/components/page/User.js6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/client/react/components/page/Index.js b/src/client/react/components/page/Index.js
index c2994c9..e5e47c5 100644
--- a/src/client/react/components/page/Index.js
+++ b/src/client/react/components/page/Index.js
@@ -2,7 +2,7 @@ import React from 'react';
import Search from '../container/Search';
import HelpBox from '../container/HelpBox';
-const App = () => (
+const IndexPage = () => (
<div className="page-index">
<div className="container">
<img src="/icons/mml-logo.png" alt="Metis" />
@@ -12,4 +12,4 @@ const App = () => (
</div>
);
-export default App;
+export default IndexPage;
diff --git a/src/client/react/components/page/User.js b/src/client/react/components/page/User.js
index 10d608d..215a6e0 100644
--- a/src/client/react/components/page/User.js
+++ b/src/client/react/components/page/User.js
@@ -9,7 +9,7 @@ import View from '../container/View';
import users from '../../users';
import WeekSelector from '../container/WeekSelector';
-const App = ({ match, location }) => {
+const UserPage = ({ match, location }) => {
const user = `${match.params.type}/${match.params.value}`;
const weekStr = queryString.parse(location.search).week;
const week = purifyWeek(weekStr ? parseInt(weekStr, 10) : moment().week());
@@ -32,7 +32,7 @@ const App = ({ match, location }) => {
);
};
-App.propTypes = {
+UserPage.propTypes = {
match: PropTypes.shape({
params: PropTypes.shape({
type: PropTypes.string.isRequired,
@@ -44,4 +44,4 @@ App.propTypes = {
}).isRequired,
};
-export default App;
+export default UserPage;