diff --git a/src/components/Feed/List.tsx b/src/components/Feed/List.tsx index 88235ed3..76e28b8c 100644 --- a/src/components/Feed/List.tsx +++ b/src/components/Feed/List.tsx @@ -42,7 +42,7 @@ export default (props: ArticleListProps) => { return ( {t('Loading')}}> - + {() => } diff --git a/src/stores/zine/layouts.ts b/src/stores/zine/layouts.ts index 1a0f2f17..e042a210 100644 --- a/src/stores/zine/layouts.ts +++ b/src/stores/zine/layouts.ts @@ -10,8 +10,8 @@ const [sortedLayoutShouts, setSortedLayoutShouts] = createSignal { setSortedLayoutShouts((prevSorted: Map) => { const siblings = prevSorted.get(layout) - if (Boolean(siblings)) { - const uniqued = Array.from(new Set([...siblings, ...shouts])) + if (siblings) { + const uniqued = [...new Set([...siblings, ...shouts])] prevSorted.set(layout, uniqued) } return prevSorted