Skip to content

Commit

Permalink
Remove -> Cancel game nomenclature change
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Oct 17, 2024
1 parent ce2d46a commit 946676f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/views/Play/ChallengeLists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function ChallengeList({
{user.is_moderator && (
<button
onClick={() => ctx.cancelOpenChallenge(C)}
className="btn danger xs pull-left "
className="btn reject xs pull-left "
>
<i className="fa fa-trash" />
</button>
Expand All @@ -115,9 +115,9 @@ export function ChallengeList({
{(C.user_challenge || null) && (
<button
onClick={() => ctx.cancelOpenChallenge(C)}
className="btn reject xs"
className="btn danger xs"
>
{_("Remove")}
{_("Cancel")}
</button>
)}

Expand Down Expand Up @@ -382,7 +382,7 @@ function RengoListItem(props: RengoComponentProps): JSX.Element {
{user.is_moderator && (
<button
onClick={() => ctx.cancelOpenRengoChallenge(challenge)}
className="btn danger xs pull-left "
className="btn reject xs pull-left "
>
<i className="fa fa-trash" />
</button>
Expand All @@ -391,9 +391,9 @@ function RengoListItem(props: RengoComponentProps): JSX.Element {
{(challenge.user_challenge || null) && (
<button
onClick={() => ctx.cancelOpenRengoChallenge(challenge)}
className="btn reject xs"
className="btn danger xs"
>
{_("Remove")}
{_("Cancel")}
</button>
)}

Expand Down
2 changes: 1 addition & 1 deletion src/views/Play/CustomGames.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ export function CustomGames(): JSX.Element {
<div className="challenge-row automatch-challenge-row" key={m.uuid}>
<span className="cell">
<button
className="reject xs"
className="danger xs"
onClick={() => {
automatch_manager.cancel(m.uuid);
}}
Expand Down

0 comments on commit 946676f

Please sign in to comment.