Skip to content

Commit

Permalink
fix: 12050
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoba Yu committed Dec 26, 2024
1 parent efdd54a commit 7213914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/(commonLayout)/apps/hooks/useAppsQueryState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7213914

Please sign in to comment.