mirror of
https://git.shipoclu.com/moon/plspace.git
synced 2026-08-13 02:42:30 +00:00
more targeted refresh
This commit is contained in:
+3
-1
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user