Filter by topic:
{#each getTopicsWithCounts() as { topic, count }}
{/each}
Loading threads...
{#each filteredThreads as thread}
{@const voteCounts = voteCountsMap.get(thread.id) ?? { upvotes: 0, downvotes: 0 }}
navigateToEvent(thread, e)}
role="button"
tabindex="0"
onkeydown={(e) => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault();
navigateToEvent(thread);
}
}}
>
{/each}
{#if filteredThreads.length === 0}
No threads found.
{/if}