diff options
| author | Adam Soltys <[email protected]> | 2024-11-22 22:43:15 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-22 22:43:15 -0800 |
| commit | 6874ab9feb1e789c2c9b4c568b29aba9bb2190f6 (patch) | |
| tree | fd17131ff721dab8ac0ded7432b7d095ebad138a /src | |
| parent | ed925e9116ff4545a81d757034cce2824cdd35df (diff) | |
| download | coinos-ui-6874ab9feb1e789c2c9b4c568b29aba9bb2190f6.tar.gz coinos-ui-6874ab9feb1e789c2c9b4c568b29aba9bb2190f6.zip | |
ecash request
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/InvoiceTypes.svelte | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/components/InvoiceTypes.svelte b/src/components/InvoiceTypes.svelte index 54f104fb..25eeed94 100644 --- a/src/components/InvoiceTypes.svelte +++ b/src/components/InvoiceTypes.svelte @@ -23,12 +23,15 @@ <div class="my-auto text-lg">Lightning</div> </button> - <a href={`/receive`} class="block contents"> - <button class="btn flex-nowrap"> - <img src="/images/cash.png" class="w-8 my-auto" /> - <div class="my-auto text-lg">Ecash</div> - </button> - </a> + <button + class="btn flex-nowrap" + class:bg-base-300={type === types.ecash} + class:text-secondary={type === types.ecash} + onclick={() => setType(types.ecash)} + > + <img src="/images/cash.png" class="w-8 my-auto" /> + <div class="my-auto text-lg">Ecash</div> + </button> <button class="btn flex-nowrap" |
