From 240246ea132cc736c6eaa70ed79f2ec78d1d4636 Mon Sep 17 00:00:00 2001 From: Victor Chabbert Date: Sat, 20 May 2017 15:14:13 +0200 Subject: Add prettier and format js files --- frontend/src/schemas/games.js | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'frontend/src/schemas/games.js') diff --git a/frontend/src/schemas/games.js b/frontend/src/schemas/games.js index f7a9ffb8..9c9681da 100644 --- a/frontend/src/schemas/games.js +++ b/frontend/src/schemas/games.js @@ -1,11 +1,15 @@ -import { schema } from 'normalizr' +import { schema } from "normalizr"; -const player = new schema.Entity('players', {}, { - idAttribute: 'username' -}) +const player = new schema.Entity( + "players", + {}, + { + idAttribute: "username" + } +); -export const game = new schema.Entity('games', { - players: [ player ] -}) +export const game = new schema.Entity("games", { + players: [player] +}); -export const gameList = [ game ] +export const gameList = [game]; -- cgit