Fixed a few bugs
This commit is contained in:
@@ -22,7 +22,7 @@ export async function getLiveRunMoves(
|
||||
}
|
||||
|
||||
export async function addRun(run: LiveRun) {
|
||||
if (!liveRuns.find((r) => r.id === run.id || r.username === run.username))
|
||||
if (liveRuns.find((r) => r.id === run.id || r.username === run.username))
|
||||
throw "Duplicate run";
|
||||
|
||||
liveRuns.push(run);
|
||||
|
||||
Reference in New Issue
Block a user