diff --git a/src/lib/constants.ts b/src/lib/constants.ts deleted file mode 100644 index 3291844..0000000 --- a/src/lib/constants.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { ProblemStatus } from "$lib/stores/nostrocket_state/types"; - -export const problemStatuses: Map = new Map( - ["open", "claimed", "closed", "patched", "solved"].map((v) => [ - v, - v as ProblemStatus, - ]) -); diff --git a/src/lib/stores/nostrocket_state/types.ts b/src/lib/stores/nostrocket_state/types.ts index b8cd83d..87aebd3 100644 --- a/src/lib/stores/nostrocket_state/types.ts +++ b/src/lib/stores/nostrocket_state/types.ts @@ -178,6 +178,5 @@ export type ProblemStatus = | "claimed" | "closed" | "patched" - | "solved"; export type RocketID = EventID; //rocketID in hex export type Sha256 = string; diff --git a/src/routes/problems/+page.svelte b/src/routes/problems/+page.svelte index 0571430..2f74f9f 100644 --- a/src/routes/problems/+page.svelte +++ b/src/routes/problems/+page.svelte @@ -1,5 +1,4 @@ @@ -96,7 +100,7 @@ -