diff options
| author | Adam Soltys <[email protected]> | 2023-02-01 10:04:29 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-01 10:04:29 -0800 |
| commit | c26727b1bab7398f94520fa10a502957c99fcab7 (patch) | |
| tree | e822737fdda40b66da8653b65203ccfc5397e877 /src/routes/(app)/invoice | |
| parent | 4514e5cf43069c552fed9f5f975d08664ca0d3b9 (diff) | |
| parent | 5085ef51412bc4d1e18bdabf29cd9fe3f7183e1c (diff) | |
| download | coinos-ui-c26727b1bab7398f94520fa10a502957c99fcab7.tar.gz coinos-ui-c26727b1bab7398f94520fa10a502957c99fcab7.zip | |
Merge branch 'master' into staging
Diffstat (limited to 'src/routes/(app)/invoice')
| -rw-r--r-- | src/routes/(app)/invoice/[hash]/+layout.server.js | 2 | ||||
| -rw-r--r-- | src/routes/(app)/invoice/[hash]/tip/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(app)/invoice/sent/+page.svelte | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/invoice/[hash]/+layout.server.js b/src/routes/(app)/invoice/[hash]/+layout.server.js index 61a479ab..d38f945f 100644 --- a/src/routes/(app)/invoice/[hash]/+layout.server.js +++ b/src/routes/(app)/invoice/[hash]/+layout.server.js @@ -6,7 +6,7 @@ export async function load({ depends, params, url }) { depends('app:invoice'); let { hash } = params; - let invoice = await get(`/invoice?hash=${hash}`); + let invoice = await get(`/invoice/${hash}`); let { amount, received } = invoice; amount = parseInt(amount); diff --git a/src/routes/(app)/invoice/[hash]/tip/+page.svelte b/src/routes/(app)/invoice/[hash]/tip/+page.svelte index eaa67170..ea0ab903 100644 --- a/src/routes/(app)/invoice/[hash]/tip/+page.svelte +++ b/src/routes/(app)/invoice/[hash]/tip/+page.svelte @@ -190,7 +190,7 @@ on:input={(e) => handleCustomTipAmount(e)} class="pl-10" placeholder="Custom amount" - use:focus + use:focus /> <button type="submit" diff --git a/src/routes/(app)/invoice/sent/+page.svelte b/src/routes/(app)/invoice/sent/+page.svelte index 59233617..ae71eb2e 100644 --- a/src/routes/(app)/invoice/sent/+page.svelte +++ b/src/routes/(app)/invoice/sent/+page.svelte @@ -1,6 +1,6 @@ <script> import { Avatar, Icon } from '$comp'; - import { request } from "$lib/store"; + import { request } from '$lib/store'; </script> Invoice sent to |
