summaryrefslogtreecommitdiff
path: root/frontend/src/sagas.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/sagas.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/sagas.js')
-rw-r--r--frontend/src/sagas.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/frontend/src/sagas.js b/frontend/src/sagas.js
index ff66453e..a28c7c72 100644
--- a/frontend/src/sagas.js
+++ b/frontend/src/sagas.js
@@ -1,16 +1,16 @@
-import { router } from "redux-saga-router";
-import { call, fork } from "redux-saga/effects";
+import { router } from 'redux-saga-router';
+import { call, fork } from 'redux-saga/effects';
-import { makeSagaRoutes } from "./routes";
-import { createWsConnection } from "./utils/websocket";
-import errorHandlingSaga from "./sagas/errors";
+import { makeSagaRoutes } from './routes';
+import { createWsConnection } from './utils/websocket';
+import errorHandlingSaga from './sagas/errors';
export default function* rootSaga(history) {
let wsConnection;
try {
wsConnection = yield call(createWsConnection);
} catch (error) {
- console.error("Could not connect to socket");
+ console.error('Could not connect to socket');
return;
}
yield fork(errorHandlingSaga, wsConnection);
bgstack15