diff --git a/src/actions/index.js b/src/actions/index.js
index 38ba96a..24560bb 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -671,4 +671,3 @@ export function switchCanvas(canvasId: number): PromiseAction {
dispatch(onViewFinishChange());
};
}
-
diff --git a/src/actions/types.js b/src/actions/types.js
index 9994f85..7051544 100644
--- a/src/actions/types.js
+++ b/src/actions/types.js
@@ -52,10 +52,7 @@ export type Action =
| { type: 'SHOW_MODAL', modalType: string, modalProps: obj }
| { type: 'HIDE_MODAL' }
| { type: 'RELOAD_URL' }
- | { type: 'ON_VIEW_FINISH_CHANGE' }
- ;
-
-
+ | { type: 'ON_VIEW_FINISH_CHANGE' };
export type PromiseAction = Promise;
export type ThunkAction = (dispatch: Dispatch, getState: GetState) => any;
export type Dispatch = (action: Action | ThunkAction | PromiseAction | Array) => any;
diff --git a/src/client.js b/src/client.js
index 029cfa0..6436776 100644
--- a/src/client.js
+++ b/src/client.js
@@ -132,8 +132,9 @@ function initViewport() {
let lastScale = initialState.canvas.scale;
hammertime.on(
'panstart pinchstart pan pinch panend pinchend',
- ({ type, deltaX, deltaY, scale },
- ) => {
+ ({
+ type, deltaX, deltaY, scale,
+ }) => {
viewport.style.cursor = 'move'; // like google maps
const { scale: viewportScale } = store.getState().canvas;
@@ -192,7 +193,9 @@ document.addEventListener('DOMContentLoaded', () => {
const renderer = new Renderer();
renderer.setViewport(viewport);
- ProtocolClient.on('pixelUpdate', ({ i, j, offset, color }) => {
+ ProtocolClient.on('pixelUpdate', ({
+ i, j, offset, color,
+ }) => {
store.dispatch(receivePixelUpdate(i, j, offset, color));
// render updated pixel
renderer.renderPixel(i, j, offset, color);
diff --git a/src/components/Admin.jsx b/src/components/Admin.jsx
index 08e6cd7..b76249b 100644
--- a/src/components/Admin.jsx
+++ b/src/components/Admin.jsx
@@ -44,7 +44,6 @@ const data = {
description: 'admin access on pixelplanet',
body: ,
};
-const adminHtml =
- `${ReactDOM.renderToStaticMarkup()}`;
+const adminHtml = `${ReactDOM.renderToStaticMarkup()}`;
export default adminHtml;
diff --git a/src/components/ChangeMail.jsx b/src/components/ChangeMail.jsx
index fb3a539..689a89e 100644
--- a/src/components/ChangeMail.jsx
+++ b/src/components/ChangeMail.jsx
@@ -4,7 +4,9 @@
*/
import React from 'react';
-import { validateName, validateEMail, validatePassword, parseAPIresponse } from '../utils/validation';
+import {
+ validateName, validateEMail, validatePassword, parseAPIresponse,
+} from '../utils/validation';
function validate(email, password) {
const errors = [];
@@ -87,19 +89,19 @@ class ChangeMail extends React.Component {
return (