Loading profile...
{#if isOwnProfile}
{:else if currentUserPubkey && currentUserPubkey !== profilePubkey}
{/if}
{#if activeTab === 'pins'}
{#if pins.length === 0}
No pinned posts yet.
{:else}
{#each pins as pin (pin.id)}
{/each}
{/if}
{:else if activeTab === 'notifications'}
{#if notifications.length === 0}
No notifications yet.
{:else}
{#each notifications as notification (notification.id)}
{/each}
{/if}
{:else if activeTab === 'wall'}
{#if profileEvent}
{#if sessionManager.isLoggedIn()}
Write on the Wall
{
// Reload wall comments after publishing
if (profileEvent) {
await loadWallComments(profileEvent.id);
}
}}
/>
{:else}
Log in to write on the wall
{/if}
{:else}
Loading profile event...
{/if}
{:else if activeTab === 'interactions'}
{#if interactionsWithMe.length === 0}
No interactions with you yet.
{:else}
{#each interactionsWithMe as interaction (interaction.id)}
{/each}
{/if}
{/if}
Wall Posts
{#if loadingWall}Loading wall...
{:else if wallComments.length === 0}No wall posts yet. Be the first to write on the wall!
{:else}