Skip to content

Commit

Permalink
add scroll restoration
Browse files Browse the repository at this point in the history
  • Loading branch information
minaxolone committed May 18, 2024
1 parent d2523fd commit 04d5f4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web-app/src/modules/core/Root.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -11,6 +11,7 @@ const Root: FC = () => {
<Outlet />
</AppFrame>
<Footer />
<ScrollRestoration />
</AptosProvider>
);
};
Expand Down

0 comments on commit 04d5f4a

Please sign in to comment.