From 97b46c9afdf79993cf03ed47a75b5a5517fa636d Mon Sep 17 00:00:00 2001 From: Bob Date: Wed, 21 Aug 2024 17:16:41 +0800 Subject: [PATCH] problem: warning should be on buymerits not sellmerits resolve https://github.com/nostrocket/hypergolic/issues/83 solution: since BuyMerits already provides a more effective warning, the warning for SellMerits has been removed --- src/components/CreateAMRAuction.svelte | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/components/CreateAMRAuction.svelte b/src/components/CreateAMRAuction.svelte index 5e36f22..1b907bc 100644 --- a/src/components/CreateAMRAuction.svelte +++ b/src/components/CreateAMRAuction.svelte @@ -4,8 +4,6 @@ import Button from '@/components/ui/button/button.svelte'; import { ndk } from '@/ndk'; import { currentUser } from '@/stores/session'; - import ExclamationTriangle from 'svelte-radix/ExclamationTriangle.svelte'; - import * as Alert from '$lib/components/ui/alert/index.js'; import validate from 'bitcoin-address-validation'; export let amrAuction: AMRAuction | undefined; @@ -15,7 +13,6 @@ let bitcoinAddress: string = ''; $: bitcoinAddressInValid = true; $: bitcoinAddressError = ''; - $: isTestRocket = rocket.Name().toLowerCase().includes('test'); $: if (bitcoinAddress) { if (!validate(bitcoinAddress)) { @@ -63,15 +60,6 @@ You are selling {amrAuction.Merits} Merits
- {#if isTestRocket} - - - Warning - Please do not enter a real Bitcoin address, as this is a test rocket. - - {/if}