From 3ff3b72f31b4a2647366c17dd2bbba0a8aae58e9 Mon Sep 17 00:00:00 2001 From: Victor Chabbert Date: Mon, 22 May 2017 22:47:20 +0200 Subject: Move to prettier-eslint for better configuration --- .../src/components/errors/errorToastContainer.js | 15 ++++++---- frontend/src/components/modals/username.js | 25 ++++++++++++++-- frontend/src/containers/lobby.js | 2 +- frontend/src/index.js | 1 - frontend/src/redux/errors.js | 5 +++- frontend/src/redux/players.js | 6 ++-- frontend/src/routes.js | 5 +++- frontend/src/sagas/errors.js | 6 +++- frontend/src/sagas/gameBrowser.js | 33 ++++++++++++++++++---- frontend/src/sagas/home.js | 16 +++++++++-- frontend/src/sagas/lobby.js | 12 ++++++-- frontend/src/store.js | 6 +++- 12 files changed, 105 insertions(+), 27 deletions(-) (limited to 'frontend/src') diff --git a/frontend/src/components/errors/errorToastContainer.js b/frontend/src/components/errors/errorToastContainer.js index 7be91007..073b6038 100644 --- a/frontend/src/components/errors/errorToastContainer.js +++ b/frontend/src/components/errors/errorToastContainer.js @@ -1,9 +1,14 @@ -import React from 'react' +import React from 'react'; import ReduxToastr from 'react-redux-toastr'; import './react-redux-toastr.min.css'; -const ErrorToastContainer = (props) => ( - -) +const ErrorToastContainer = props => ( + +); -export default ErrorToastContainer +export default ErrorToastContainer; diff --git a/frontend/src/components/modals/username.js b/frontend/src/components/modals/username.js index c00262a7..bec890b2 100644 --- a/frontend/src/components/modals/username.js +++ b/frontend/src/components/modals/username.js @@ -1,5 +1,14 @@ import React from 'react'; -import { Overlay, Panel, PanelHeader, PanelFooter, Button, Input, Close, Space } from 'rebass'; +import { + Overlay, + Panel, + PanelHeader, + PanelFooter, + Button, + Input, + Close, + Space, +} from 'rebass'; const Modal = ({ modalOpen, toggleModal }) => ( @@ -9,10 +18,20 @@ const Modal = ({ modalOpen, toggleModal }) => ( - + -