From 4e2edab1549a7f54ba8b47caa9ed3d65871fa07a Mon Sep 17 00:00:00 2001 From: Hector Sosa Date: Mon, 20 Nov 2023 23:00:39 +0100 Subject: [PATCH] Fix Scrolling --- docs/src/app/Providers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}