From 04d5f4a5d6883954c0d55e1a4219ad6b2888608f Mon Sep 17 00:00:00 2001 From: minaxolone Date: Fri, 17 May 2024 21:51:52 -0700 Subject: [PATCH] add scroll restoration --- web-app/src/modules/core/Root.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-app/src/modules/core/Root.tsx b/web-app/src/modules/core/Root.tsx index 4da9282..985488d 100644 --- a/web-app/src/modules/core/Root.tsx +++ b/web-app/src/modules/core/Root.tsx @@ -1,5 +1,5 @@ import { FC } from 'react'; -import { Outlet } from 'react-router-dom'; +import { Outlet, ScrollRestoration } from 'react-router-dom'; import AppFrame from '../ui/AppFrame'; import { AptosProvider } from '../aptos'; import Footer from '../ui/Layout/Footer'; @@ -11,6 +11,7 @@ const Root: FC = () => {