diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-05-28 23:39:12 +0200 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-05-28 23:39:12 +0200 |
commit | bb2ced764938c4aa6b4e003b7dedb26c8a096b97 (patch) | |
tree | 7adf701e85f724b85fe042ef9ae00ff52e3c5213 /frontend/src/schemas | |
parent | Upgrade react-scripts (diff) | |
download | seven-wonders-bb2ced764938c4aa6b4e003b7dedb26c8a096b97.tar.gz seven-wonders-bb2ced764938c4aa6b4e003b7dedb26c8a096b97.tar.bz2 seven-wonders-bb2ced764938c4aa6b4e003b7dedb26c8a096b97.zip |
Initial type checking work with flowtype
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], |