From 3c6701bed132a168bbe65bf2ed61c37c5b3e6d0d Mon Sep 17 00:00:00 2001 From: Justin Maximillian Kimlim Date: Tue, 2 Jul 2024 00:20:09 +0700 Subject: [PATCH] fix: buggy mastodon profile. (#87) Fix double links and descriptions in the members card and saving profile deleting mastodon username bugs --- src/routes/auth/v1/account/+page.svelte | 2 ++ src/routes/u/[username]/+page.svelte | 13 ------------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/routes/auth/v1/account/+page.svelte b/src/routes/auth/v1/account/+page.svelte index 1605a42..a4931d4 100644 --- a/src/routes/auth/v1/account/+page.svelte +++ b/src/routes/auth/v1/account/+page.svelte @@ -349,6 +349,8 @@ + + diff --git a/src/routes/u/[username]/+page.svelte b/src/routes/u/[username]/+page.svelte index 4c9ad90..476a0aa 100644 --- a/src/routes/u/[username]/+page.svelte +++ b/src/routes/u/[username]/+page.svelte @@ -96,19 +96,6 @@ {printWorkCompensation(profile.work_compensation)} {/if} - {#if profile.links} - {#each profile.links as link} - - {link.label || link.url} - - {/each} - {/if} - {#if profile.bio} -
-
{profile.bio}
-
- {/if} {#if profile.mastodon_server && profile.username}