add type to ui/lobby

pull/7142/head
Thibault Duplessis 2020-08-19 15:41:00 +02:00
parent 4de8f6d910
commit 7afc4ef663
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ export default class LobbyController {
this.socket.poolIn(this.poolMember);
};
gameActivity = gameId => {
gameActivity = (gameId: string) => {
if (this.data.nowPlaying.find(p => p.gameId === gameId))
xhr.nowPlaying().then(povs => {
this.data.nowPlaying = povs;