diff --git a/web/src/auth/PrivateRoute.js b/web/src/auth/PrivateRoute.js index 52ff0fa..8a7b794 100644 --- a/web/src/auth/PrivateRoute.js +++ b/web/src/auth/PrivateRoute.js @@ -3,10 +3,10 @@ import { Redirect, Route } from 'react-router-dom'; export const PrivateRoute = ({ component: Component, ...rest }) => { // Add your own authentication on the below line. - const isLoggedIn = - localStorage.getItem('uuid') !== null - ? true - : false; + const isLoggedIn = true; + // localStorage.getItem('uuid') !== null + // ? true + // : false; return ( ( diff --git a/web/src/components/LineChart.js b/web/src/components/LineChart.js index 26300eb..a143e42 100644 --- a/web/src/components/LineChart.js +++ b/web/src/components/LineChart.js @@ -11,7 +11,7 @@ const data = { pointRadius: 0, fill: false, borderWidth: 4, - data: [100, 50, 0, 67, 12, 89, 65, 0, 100] + data: [20, 25, 23, 30, 40, 65, 45, 17, 24] }, { borderColor: 'violet', @@ -19,7 +19,7 @@ const data = { pointRadius: 0, fill: false, borderWidth: 4, - data: [30, 96, 87, 12, 50, 90, 50, 0, 100] + data: [60, 55, 87, 74, 87, 42, 52, 42, 45] } ] }; @@ -28,8 +28,8 @@ export default class LineChart extends Component { render() { return (
-
SOME DAY: SOME FACTOR
-
92%
+
FRIDAY: LIGHT QUALITY
+
22%
+
+ +
-
-
-
@@ -50,7 +50,7 @@ export default class Factors extends React.Component {
-
SOME DAY
+
FRIDAY
diff --git a/web/src/pages/Feedback.js b/web/src/pages/Feedback.js index 65f2fdf..668d7f4 100644 --- a/web/src/pages/Feedback.js +++ b/web/src/pages/Feedback.js @@ -17,11 +17,9 @@ export default class Feedback extends React.Component {
What can you do?