fix: ssr crash

This commit is contained in:
James Xylight committed 2025-03-02 15:30:00 -08:00
1 parent 5e18fbb0bd
commit c4c28aa76b
5 files changed
+12 -12

No files matched your search

@@ -18,7 +18,7 @@
let { items, isFavorites = false }: Props = $props()
</script>
{#each items.sort( (a, b) => a.title.localeCompare(b.title), ) as follow (follow.id)}
{#each items.toSorted( (a, b) => a.title.localeCompare(b.title), ) as follow (follow.id)}
<div
class="inline-flex w-full items-center pl-3 hover:bg-slate-100 hover:dark:bg-zinc-900
transition-colors rounded-lg"