summaryrefslogtreecommitdiff
path: root/frontend/src/redux/players.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/redux/players.js')
-rw-r--r--frontend/src/redux/players.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/src/redux/players.js b/frontend/src/redux/players.js
index b11e920f..db9f1416 100644
--- a/frontend/src/redux/players.js
+++ b/frontend/src/redux/players.js
@@ -39,6 +39,8 @@ export default (state = initialState, action) => {
}
};
-export const getCurrentPlayer = state => state.players.all && state.players.all[state.players.current];
+export const getCurrentPlayer = state =>
+ state.players.all && state.players.all[state.players.current];
export const getPlayer = (state, username) => state.players.all[username];
-export const getPlayers = (state, usernames) => usernames.map(u => getPlayer(state, u));
+export const getPlayers = (state, usernames) =>
+ usernames.map(u => getPlayer(state, u));
bgstack15