Skip to content

Commit

Permalink
Chore/update packages (#100)
Browse files Browse the repository at this point in the history
* chore: pin package versions

* chore: update typescript package

* chore: update postcss

* chore: remove ts-ignore for Array.with

* chore: update next version

* chore: update firebase version

* chore: update eslint-config-next version

* chore: update eslint version

* chore: update autoprefixer version

* chore: update @types/react version

* chore: update @types/node version

* chore: revert next version to 13.4.12

* chore: update next to version 13.4.13
  • Loading branch information
LukeSchlangen authored Aug 24, 2023
1 parent 9488bde commit 91a6a2e
Show file tree
Hide file tree
Showing 3 changed files with 4,746 additions and 14,840 deletions.
3 changes: 0 additions & 3 deletions app-dev/party-game/app/components/question-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ export default function QuestionPanel({game, gameRef, currentQuestion}: { game:
if (game.state === gameStates.AWAITING_PLAYER_ANSWERS && !isGameLeader) {
// If the user is only supposed to pick one answer, clear the other answers first
const startingAnswerSelection = isSingleAnswer ? emptyAnswerSelection : answerSelection;

// Typescript does not expect the `with` property on arrays yet
// @ts-expect-error
const newAnswerSelection: boolean[] = startingAnswerSelection.with(answerIndex, !answerSelection[answerIndex]);

const token = await authUser.getIdToken();
Expand Down
Loading

0 comments on commit 91a6a2e

Please sign in to comment.