diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-03-21 15:51:50 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-03-21 15:51:50 +0100 |
commit | 93d3f491f0a0bff65e2bff37da1e24d1cbab2aea (patch) | |
tree | f32c38513748900599ffbfdae6274e89e60dd648 /src/client | |
parent | f60fc288ce606bb217d3912a09fff083f0a816e8 (diff) |
Throw out the modules
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/react/components/container/Search.js | 10 | ||||
-rw-r--r-- | src/client/react/components/container/WeekSelector.js | 6 |
2 files changed, 8 insertions, 8 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 ( - <div className={styles.Search}> - <div className={classnames(styles.overflow, { [styles.hasFocus]: hasFocus })}> - <div className={styles.inputWrapper}> - <div className={styles.iconWrapper}> + <div className="Search"> + <div className={classnames('overflow', { hasFocus })}> + <div className="inputWrapper"> + <div className="iconWrapper"> <IconFromUserType userType={isExactMatch ? users.byId[urlUser].type : null} defaultIcon={<SearchIcon />} 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 ( - <div className={styles.WeekSelector}> + <div className="WeekSelector"> <button onClick={() => this.updateWeek(-1)}><ArrowBackIcon /></button> - <div className={styles.text}>{this.getWeekText()}</div> + <div className="text">{this.getWeekText()}</div> <button onClick={() => this.updateWeek(+1)}><ArrowForwardIcon /></button> </div> ); |