diff --git a/src/routes/profile/(local_user)/blocks/+page.svelte b/src/routes/profile/(local_user)/blocks/+page.svelte
index e2c9c878..2bd2ec35 100644
--- a/src/routes/profile/(local_user)/blocks/+page.svelte
+++ b/src/routes/profile/(local_user)/blocks/+page.svelte
@@ -17,6 +17,8 @@
import Material from 'mono-svelte/materials/Material.svelte'
import { Check, Icon, XMark } from 'svelte-hero-icons'
import type { PageData } from './$types.js'
+ import CommonList from '$lib/components/ui/layout/CommonList.svelte'
+ import EndPlaceholder from '$lib/components/ui/EndPlaceholder.svelte'
interface Props {
// sveltekit doesn't feel like making types work right now
@@ -85,106 +87,109 @@
{$t('routes.profile.blocks.title')}
-{#if data.community_blocks?.length > 0 || data.person_blocks?.length > 0 || (data.my_user?.instance_blocks?.length ?? 0) > 0}
- {#if data.community_blocks?.length > 0}
-
-
{$t('content.communities')}
-
-
- {#each data.community_blocks as block (block.community.id)}
-
+
+ {#if data.community_blocks?.length > 0 || data.person_blocks?.length > 0 || (data.my_user?.instance_blocks?.length ?? 0) > 0}
+ {#if data.community_blocks?.length > 0}
+
+ {$t('content.communities')}
+
+
+
+ {#snippet item(block)}
+
+
+
-
- {/each}
-
-
-
- {/if}
- {#if data.person_blocks?.length > 0}
-
-
{$t('content.users')}
-
-
- {#each data.person_blocks as block (block.target.id)}
-
+ {/snippet}
+
+
+ {/if}
+ {#if data.person_blocks?.length > 0}
+
+ {$t('content.users')}
+
+
+
+ {#snippet item(block)}
+
+
+
-
- {/each}
-
-
-
- {/if}
- {#if data.my_user?.instance_blocks && (data.my_user?.instance_blocks?.length ?? 0) > 0}
-
-
+ {/snippet}
+
+
+ {/if}
+ {#if data.my_user?.instance_blocks && (data.my_user?.instance_blocks?.length ?? 0) > 0}
+
{$t('content.instances')}
-
-
-
- {#each data.my_user?.instance_blocks as block (block.instance.id)}
-
+
+
+
+ {#snippet item(block)}
+
+
+
-
- {/each}
-
-
+ {/snippet}
+
+
+ {/if}
+ {:else}
+
{/if}
-{:else}
-
-{/if}
+