Skip to content

Commit

Permalink
Disable Remix ScrollRestoration
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksamies committed Oct 18, 2024
1 parent d863304 commit df1d367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/cyberstorm-remix/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
MetaFunction,
Outlet,
Scripts,
ScrollRestoration,
// ScrollRestoration,
isRouteErrorResponse,
useLoaderData,
useLocation,
Expand Down Expand Up @@ -228,7 +228,7 @@ function Root() {
</Toast.Provider>
</LinkingProvider>
</SessionProvider>
<ScrollRestoration />
{/* <ScrollRestoration /> */}
<Scripts />
{shouldShowAds ? <AdsInit /> : null}
</body>
Expand Down

0 comments on commit df1d367

Please sign in to comment.