swap watch with source

This commit is contained in:
Shinigami92 2023-04-03 23:05:12 +02:00
parent 8d9e59b2a6
commit 3ecbc694aa

View file

@ -49,7 +49,10 @@ const nuxtApp = useNuxtApp()
const { items, prevItems, update, state, endAnchor, error } = usePaginator(paginator, $$(stream), eventType, preprocess)
const postProcessedItems = computedWithControl(() => postprocess(items.value as U[]), () => items.value)
const postProcessedItems = computedWithControl(
() => items.value,
() => postprocess(items.value as U[]),
)
nuxtApp.hook('elk-logo:click', () => {
update()