mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
1 parent
be7877f526
commit
9c3cf7b69a
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user