From 93d3f491f0a0bff65e2bff37da1e24d1cbab2aea Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 21 Mar 2018 15:51:50 +0100 Subject: Throw out the modules --- src/client/react/components/container/Search.js | 10 +++++----- src/client/react/components/container/WeekSelector.js | 6 +++--- webpack.config.js | 8 +------- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/src/client/react/components/container/Search.js b/src/client/react/components/container/Search.js index edaf72c..991ef5b 100644 --- a/src/client/react/components/container/Search.js +++ b/src/client/react/components/container/Search.js @@ -33,7 +33,7 @@ import Menu from './Menu'; import Results from './Results'; import IconFromUserType from '../presentational/IconFromUserType'; -import styles from './Search.scss'; +import './Search.scss'; class Search extends React.Component { static propTypes = { @@ -145,10 +145,10 @@ class Search extends React.Component { searchText === users.byId[urlUser].value; return ( -
-
-
-
+
+
+
+
} diff --git a/src/client/react/components/container/WeekSelector.js b/src/client/react/components/container/WeekSelector.js index f0da1b2..a8f5936 100644 --- a/src/client/react/components/container/WeekSelector.js +++ b/src/client/react/components/container/WeekSelector.js @@ -29,7 +29,7 @@ import ArrowForwardIcon from 'react-icons/lib/md/arrow-forward'; import purifyWeek from '../../lib/purifyWeek'; import { setWeek, weekFromLocation } from '../../lib/url'; -import styles from './WeekSelector.scss'; +import './WeekSelector.scss'; class WeekSelector extends React.Component { static propTypes = { @@ -69,9 +69,9 @@ class WeekSelector extends React.Component { render() { return ( -
+
-
{this.getWeekText()}
+
{this.getWeekText()}
); diff --git a/webpack.config.js b/webpack.config.js index 6625f45..1c37a6b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -19,13 +19,7 @@ module.exports = { test: /\.scss/, use: [ { loader: 'style-loader' }, - { - loader: 'css-loader', - options: { - modules: true, - localIdentName: '[local]--[name]--[hash:base64:5]', - }, - }, + { loader: 'css-loader' }, { loader: 'sass-loader' }, ], }, -- cgit v1.1