Skip to content

Commit

Permalink
Lookup game by originalGame on highlight (#283)
Browse files Browse the repository at this point in the history
* lookup game by originalGame on highlight

* lookup by originalGame on delete
  • Loading branch information
ross3102 committed Sep 8, 2024
1 parent 59c50da commit f9755c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/run/user-detail/user-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export const UserOverview = ({
);

delete runs.get(
game,
originalGame,
)[runKey];

forceUpdate();
Expand Down Expand Up @@ -381,7 +381,9 @@ export const UserOverview = ({
const str =
await result.json();

runs.get(game)[
runs.get(
originalGame,
)[
runKey
].highlighted =
str.result.highlighted;
Expand Down

0 comments on commit f9755c1

Please sign in to comment.