From bb9cafa2b24646808cbdafa84149e6b26ee1c2e1 Mon Sep 17 00:00:00 2001 From: gsovereignty Date: Wed, 1 Nov 2023 10:22:08 +0900 Subject: [PATCH] problem: not using mainnet --- src/components/modals/DeleteEvent.svelte | 90 +++++++++++++++++++ .../problems/AddProblemModal.svelte | 3 +- src/components/views/Landing.svelte | 3 +- src/routes/consensustip/+page.svelte | 2 + src/settings.ts | 4 +- 5 files changed, 97 insertions(+), 5 deletions(-) create mode 100644 src/components/modals/DeleteEvent.svelte diff --git a/src/components/modals/DeleteEvent.svelte b/src/components/modals/DeleteEvent.svelte new file mode 100644 index 0000000..c204b9a --- /dev/null +++ b/src/components/modals/DeleteEvent.svelte @@ -0,0 +1,90 @@ + + + + + (formOpen = false)} + on:submit={() => (formValidation ? onFormSubmit() : null)} +> +
+ {#if !$currentUser} + + {/if} + + +
diff --git a/src/components/problems/AddProblemModal.svelte b/src/components/problems/AddProblemModal.svelte index 47ef98c..cc11c38 100644 --- a/src/components/problems/AddProblemModal.svelte +++ b/src/components/problems/AddProblemModal.svelte @@ -1,6 +1,7 @@ @@ -12,4 +13,5 @@ + \ No newline at end of file diff --git a/src/settings.ts b/src/settings.ts index e58b0fd..b21ef36 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -10,7 +10,7 @@ export var nostrocketIgnitionEvent = export const simulateEvents = false; //will not publish events if set to True. -export const testnet = true; +export const testnet = false; const testnetRoot = "b43986227b5e84aee127501749886e34b15f232fc381c5048023a1047086b121"; @@ -56,4 +56,4 @@ export const defaultRelays = [ // "wss://eden.nostr.land", // "wss://nos.lol" // 'ws://localhost:8080', -]; +]; \ No newline at end of file