diff options
Diffstat (limited to 'frontend/src/schemas')
-rw-r--r-- | frontend/src/schemas/games.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/frontend/src/schemas/games.js b/frontend/src/schemas/games.js index 68d14fb4..bcae0235 100644 --- a/frontend/src/schemas/games.js +++ b/frontend/src/schemas/games.js @@ -1,12 +1,6 @@ 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], |