more targeted refresh

This commit is contained in:
Moon.eth
2026-07-29 12:51:33 +09:00
parent 4f682857ac
commit a42145c678
11 changed files with 229 additions and 4 deletions
+3 -1
View File
@@ -19,8 +19,10 @@
import Compose from '$routes/Compose.svelte'
import NotFound from '$routes/NotFound.svelte'
import type { TimelineKind } from '$lib/api/endpoints'
import { provideTimelineRefresh } from '$lib/timeline-refresh'
const { router, session } = useAppServices()
const timelineRefresh = provideTimelineRefresh()
let booted = $state(false)
@@ -57,7 +59,7 @@
)
</script>
<RefreshHotkey />
<RefreshHotkey onrefresh={() => timelineRefresh.refresh()} />
<div class="site">
<SiteHeader />