Skip to content

Commit

Permalink
Fix Scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
iamhectorsosa committed Nov 20, 2023
1 parent dc98c7b commit 4e2edab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/app/Providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export const Providers: React.FC<React.PropsWithChildren> = ({ children }) => {
<SearchParamsProvider
queryString={searchParams.toString()}
router={{
push: (href) => router.push(href),
replace: (href) => router.replace(href),
push: (href) => router.push(href, { scroll: false }),
replace: (href) => router.replace(href, { scroll: false }),
}}
>
{children}
Expand Down

0 comments on commit 4e2edab

Please sign in to comment.