diff --git a/docs/src/app/Providers.tsx b/docs/src/app/Providers.tsx index b04e144..32d850a 100644 --- a/docs/src/app/Providers.tsx +++ b/docs/src/app/Providers.tsx @@ -11,8 +11,8 @@ export const Providers: React.FC = ({ children }) => { router.push(href), - replace: (href) => router.replace(href), + push: (href) => router.push(href, { scroll: false }), + replace: (href) => router.replace(href, { scroll: false }), }} > {children}