Skip to content

Commit

Permalink
Dont return anything on toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
moorscode committed Feb 13, 2021
1 parent 89fa201 commit 0be3302
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/src/pokers/poker-room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,10 +524,9 @@ export class PokerRoom {
/**
* Toggles between showing and or hiding the current votes.
*
* @returns {boolean} The new value
* @returns {void} Nothing.
*/
public toggleRevealVotes(): boolean {
public toggleRevealVotes(): void {
this.currentStory.votesRevealed = ! this.currentStory.votesRevealed;
return this.currentStory.votesRevealed;
}
}

0 comments on commit 0be3302

Please sign in to comment.