aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/.eslintrc5
-rw-r--r--src/client/react/components/container/HelpBox.js2
-rw-r--r--src/client/views/index.handlebars5
3 files changed, 8 insertions, 4 deletions
diff --git a/src/client/.eslintrc b/src/client/.eslintrc
new file mode 100644
index 0000000..6479217
--- /dev/null
+++ b/src/client/.eslintrc
@@ -0,0 +1,5 @@
+{
+ "rules": {
+ "no-console": "warn"
+ }
+}
diff --git a/src/client/react/components/container/HelpBox.js b/src/client/react/components/container/HelpBox.js
index d10c26b..f4fbbe9 100644
--- a/src/client/react/components/container/HelpBox.js
+++ b/src/client/react/components/container/HelpBox.js
@@ -21,6 +21,8 @@
import { connect } from 'react-redux';
import HelpBox from '../presentational/HelpBox';
+console.log('hi');
+
const mapStateToProps = state => ({
isVisible: !state.search || (state.search.results.length === 0 && state.search.text === ''),
});
diff --git a/src/client/views/index.handlebars b/src/client/views/index.handlebars
index 5105439..93eccf1 100644
--- a/src/client/views/index.handlebars
+++ b/src/client/views/index.handlebars
@@ -28,10 +28,7 @@
<body>
<div id="root"></div>
<script>
- {{{ flagsStr }}}
- {{{ usersStr }}}
- {{{ dailyScheduleWeeksStr }}}
- {{{ basisScheduleWeeksStr }}}
+ var USERS = {{{ usersStr }}};
</script>
<script src="/bundle.js"></script>
</body>