summaryrefslogtreecommitdiff
path: root/frontend/src/containers/home.js
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2017-05-21 20:20:45 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2017-05-22 00:23:02 +0200
commitc03e68041e0f444e18a895058afbdf0d68759517 (patch)
tree6e31f9726d36e746f43c7856cebff8c861577e31 /frontend/src/containers/home.js
parentClean name in websocket.js (diff)
downloadseven-wonders-c03e68041e0f444e18a895058afbdf0d68759517.tar.gz
seven-wonders-c03e68041e0f444e18a895058afbdf0d68759517.tar.bz2
seven-wonders-c03e68041e0f444e18a895058afbdf0d68759517.zip
Update prettier config and reformat
Here's the discussion summary: - single quote, because that's what I'm used to in the JS world - trailing comma, to avoid unnecessary git changes - print-width 120, because 120 still doesn't require to scroll horizontally, and vertical space is precious
Diffstat (limited to 'frontend/src/containers/home.js')
-rw-r--r--frontend/src/containers/home.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontend/src/containers/home.js b/frontend/src/containers/home.js
index 40c2efb3..f60c1c52 100644
--- a/frontend/src/containers/home.js
+++ b/frontend/src/containers/home.js
@@ -1,7 +1,7 @@
-import React, { Component } from "react";
-import { connect } from "react-redux";
-import { Button, Container, Input } from "rebass";
-import { actions } from "../redux/players";
+import React, { Component } from 'react';
+import { connect } from 'react-redux';
+import { Button, Container, Input } from 'rebass';
+import { actions } from '../redux/players';
class HomePage extends Component {
play = e => {
@@ -32,7 +32,7 @@ class HomePage extends Component {
const mapStateToProps = state => ({});
const mapDispatchToProps = {
- chooseUsername: actions.chooseUsername
+ chooseUsername: actions.chooseUsername,
};
export default connect(mapStateToProps, mapDispatchToProps)(HomePage);
bgstack15