diff options
| author | Adam Soltys <[email protected]> | 2024-08-20 15:51:22 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-08-20 15:51:22 -0700 |
| commit | b549489aa400e623cf93b44f19aacbd62bbc1830 (patch) | |
| tree | 129262c0ce19c767e5313d11c90c68cffb0fd479 /src | |
| parent | 7064846be383ae352329377f21304d0cfdc5040c (diff) | |
| download | coinos-ui-b549489aa400e623cf93b44f19aacbd62bbc1830.tar.gz coinos-ui-b549489aa400e623cf93b44f19aacbd62bbc1830.zip | |
no pay button for non-users
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+page.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index 2dfd4979..32e6807a 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -297,7 +297,7 @@ </div> </div> </button> - {:else if user?.username !== subject.username} + {:else if user?.username !== subject.username && !subject.anon} <a href={`/pay/${subject.username}`} class="contents"> <button class="rounded-2xl py-5 px-6 font-bold hover:bg-neutral-700 flex bg-black text-white mx-auto" |
