refactor: switch LemmyClient to a proxy to remove boilerplate methods

This commit is contained in:
Xylight committed 2026-02-08 11:01:03 -08:00
1 parent cc04eca248
commit 3888ab8f1a
3 files changed
+72 -488

No files matched your search

-2
View File
@@ -1,5 +1,4 @@
<script lang="ts">
import { invalidateAll } from '$app/navigation'
import { page } from '$app/state'
import TabButton from '$lib/ui/form/TabButton.svelte'
import { SvelteURL } from 'svelte/reactivity'
@@ -70,7 +69,6 @@
)}
{#if style == 'header'}
<a
onclick={() => invalidateAll()}
href={buildUrl(currentRoute, route.href)}
class={['tab-item ', selected && 'tab-selected']}
>