Fixed hydration errors
Moved some code to client only (it makes sense given the localstorage stuff)
This commit is contained in:
@@ -201,7 +201,7 @@ whenever(keys.control_period, () => {
|
||||
const searchResultsRef = ref<HTMLElement | null>(null)
|
||||
const { y: searchResultsY } = useScroll(searchResultsRef)
|
||||
|
||||
watch(currentPage, () => {
|
||||
watch([currentPage, selectedEntity], () => {
|
||||
searchResultsY.value = 0
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user