From 5c265c04ad513d845a41c7866c3ed231c8d5e68e Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Sat, 7 Jul 2018 17:34:02 +0200 Subject: server: Use database for users --- src/client/.eslintrc | 5 +++++ src/client/react/components/container/HelpBox.js | 2 ++ src/client/views/index.handlebars | 5 +---- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 src/client/.eslintrc (limited to 'src/client') 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 @@
-- cgit v1.1