Skip to content

Commit

Permalink
No need to throw
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmatter committed Jan 21, 2025
1 parent 1b16a48 commit 7d2b667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/components/ForceWin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ const ForceWin = ({
gid: game.gid,
tidOrTie: newForceWin,
});
setState("saved");
} catch (error) {
setState("error");
throw error;
console.error(error);
}
setState("saved");
}}
style={style}
>
Expand Down

0 comments on commit 7d2b667

Please sign in to comment.