summaryrefslogtreecommitdiff
path: root/frontend/src/layouts/LobbyLayout.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/layouts/LobbyLayout.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/layouts/LobbyLayout.js')
-rw-r--r--frontend/src/layouts/LobbyLayout.js17
1 files changed, 6 insertions, 11 deletions
diff --git a/frontend/src/layouts/LobbyLayout.js b/frontend/src/layouts/LobbyLayout.js
index 84d3998f..effdfebb 100644
--- a/frontend/src/layouts/LobbyLayout.js
+++ b/frontend/src/layouts/LobbyLayout.js
@@ -1,23 +1,18 @@
-import React from "react";
-import { Banner } from "rebass";
-import logo from "./logo-7-wonders.png";
-import ReduxToastr from "react-redux-toastr";
+import React from 'react';
+import { Banner } from 'rebass';
+import logo from './logo-7-wonders.png';
+import ReduxToastr from 'react-redux-toastr';
export default props => (
<div>
<Banner
align="center"
- style={{ minHeight: "30vh", marginBottom: 0 }}
+ style={{ minHeight: '30vh', marginBottom: 0 }}
backgroundImage="https://images.unsplash.com/photo-1431207446535-a9296cf995b1?dpr=1&auto=format&fit=crop&w=1199&h=799&q=80&cs=tinysrgb&crop="
>
<img src={logo} alt="Seven Wonders Logo" />
</Banner>
{props.children}
- <ReduxToastr
- timeOut={4000}
- preventDuplicates
- position="bottom-left"
- progressBar
- />
+ <ReduxToastr timeOut={4000} preventDuplicates position="bottom-left" progressBar />
</div>
);
bgstack15