Skip to content

Commit

Permalink
Fix fetching profile
Browse files Browse the repository at this point in the history
  • Loading branch information
sant0s12 committed Mar 2, 2024
1 parent 3be8fb6 commit 01f4467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/PostHeader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
joinedLinks = communityLinks.join('<span class="text-gray-400"> • </span>');
}
$: post.author.fetchProfile();
$: if (post.author.profile === undefined) post.author.fetchProfile().then(() => (post = post));
// Await the communities
onMount(async () => {
Expand Down

0 comments on commit 01f4467

Please sign in to comment.