Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 3, 2025
1 parent edcd698 commit 788a116
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
12 changes: 6 additions & 6 deletions web/src/utils/steps.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export const takeTurnStepProps = (
? "Number selected"
: "Opponent selected number"
: turnOwner
? "Select your number"
: "Opponent is selecting number",
? "Select your number"
: "Opponent is selecting number",
loading: !turnOwner && !currentTurn,
};
};
Expand All @@ -34,8 +34,8 @@ export const respondStepProps = (
? "Opponent has responded"
: "Responded to opponents turn"
: turnOwner
? "Opponent is responding"
: "Respond to opponents turn"
? "Opponent is responding"
: "Respond to opponents turn"
: "Waiting for previous step",
// current turn must be waiting for a response
loading: turnOwner && currentTurn && !currentTurn?.response,
Expand All @@ -57,8 +57,8 @@ export const answerStepProps = (
? "Answered to the response"
: "Opponent answered to the response"
: turnOwner
? "Answer to the response"
: "Opponent is answering to the response"
? "Answer to the response"
: "Opponent is answering to the response"
: "Waiting for previous step",
// response to the current turn must be waiting for an answer
loading:
Expand Down

0 comments on commit 788a116

Please sign in to comment.