diff options
Diffstat (limited to 'frontend/src/schemas/games.js')
-rw-r--r-- | frontend/src/schemas/games.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/frontend/src/schemas/games.js b/frontend/src/schemas/games.js index 9c9681da..68d14fb4 100644 --- a/frontend/src/schemas/games.js +++ b/frontend/src/schemas/games.js @@ -1,15 +1,15 @@ -import { schema } from "normalizr"; +import { schema } from 'normalizr'; const player = new schema.Entity( - "players", + 'players', {}, { - idAttribute: "username" + idAttribute: 'username', } ); -export const game = new schema.Entity("games", { - players: [player] +export const game = new schema.Entity('games', { + players: [player], }); export const gameList = [game]; |