diff options
| author | Adam Soltys <[email protected]> | 2023-02-02 23:26:34 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-02 23:29:42 -0800 |
| commit | 916f331e0e9a051830ce988639bb2149788e8228 (patch) | |
| tree | a2dc51e4f16fab464788c54dd60e6c18dc8923b0 /src/routes/(app)/send | |
| parent | 8ebbc178b68da89470bac68f65a365bc6366747b (diff) | |
| download | coinos-ui-916f331e0e9a051830ce988639bb2149788e8228.tar.gz coinos-ui-916f331e0e9a051830ce988639bb2149788e8228.zip | |
move invoices, combine profile and dashboard
Diffstat (limited to 'src/routes/(app)/send')
| -rw-r--r-- | src/routes/(app)/send/[...text]/+page.svelte | 3 | ||||
| -rw-r--r-- | src/routes/(app)/send/user/[username]/[...amount]/+page.svelte | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte index 92ee7a33..e3d8091f 100644 --- a/src/routes/(app)/send/[...text]/+page.svelte +++ b/src/routes/(app)/send/[...text]/+page.svelte @@ -98,9 +98,6 @@ <Avatar user={c} size={20} disabled={true} /> <div class="my-auto text-left"> <p class="ml-1 text-lg break-words">{c.username}</p> - <p class="ml-1 text-secondary"> - {format(parseISO(c.last), 'MMM d')} - </p> </div> </div> </div> diff --git a/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte b/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte index a5b463be..87eba733 100644 --- a/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte +++ b/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte @@ -24,7 +24,7 @@ amount = a; amountFiat = af; - ({ hash } = await post('/invoice', { + ({ hash } = await post(`/${recipient.username}/invoice`, { invoice: { amount, rate: rates[recipient.currency], |
