chore: use forceScrollToTop on click hook

This commit is contained in:
userquin 2023-02-11 12:31:39 +01:00
parent 1241921435
commit 26883d6d19

View file

@ -49,7 +49,7 @@ const { items, prevItems, update, state, endAnchor, error } = usePaginator(pagin
nuxtApp.hook('elk-logo:click', () => { nuxtApp.hook('elk-logo:click', () => {
update() update()
nuxtApp.$scrollToTop() nuxtApp.$trackScroll.forceScrollToTop()
}) })
function createEntry(item: any) { function createEntry(item: any) {