Ver código fonte

fix: 12050 (#12109)

Co-authored-by: Xiaoba Yu <xb1823725853@gmail.com>
tags/0.15.0
XiaoBa 10 meses atrás
pai
commit
9c3cf7b69a
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
web/app/(commonLayout)/apps/hooks/useAppsQueryState.ts Ver arquivo

@@ -37,7 +37,7 @@ function useAppsQueryState() {
const syncSearchParams = useCallback((params: URLSearchParams) => {
const search = params.toString()
const query = search ? `?${search}` : ''
router.push(`${pathname}${query}`)
router.push(`${pathname}${query}`, { scroll: false })
}, [router, pathname])

// Update the URL search string whenever the query changes.

Carregando…
Cancelar
Salvar