From dabad8a02f0db404f2a9fab478277b7d5c840884 Mon Sep 17 00:00:00 2001 From: gsovereignty Date: Sat, 11 Nov 2023 22:42:34 +0800 Subject: [PATCH] Problem: can't edit problems --- .../problems/LogNewProblemModal.svelte | 84 +++-- .../stores/nostrocket_state/master_state.ts | 11 +- .../soft_state/simplifiedProblems.ts | 321 +++++++++--------- src/lib/stores/nostrocket_state/types.ts | 34 ++ src/routes/problems/[id]/+page.svelte | 25 +- src/routes/problems/[id]/edit/+page.svelte | 7 + src/settings.ts | 2 + 7 files changed, 269 insertions(+), 215 deletions(-) create mode 100644 src/routes/problems/[id]/edit/+page.svelte diff --git a/src/components/problems/LogNewProblemModal.svelte b/src/components/problems/LogNewProblemModal.svelte index 734cf39..e71e8ef 100644 --- a/src/components/problems/LogNewProblemModal.svelte +++ b/src/components/problems/LogNewProblemModal.svelte @@ -1,6 +1,7 @@ @@ -189,8 +181,9 @@ - +

+ {#if claimable}