From 7679672432941141ed8c07ad8470e5bf406e1600 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Fri, 24 Feb 2023 00:36:41 +0100 Subject: [PATCH] feat: add ScrollRestoration --- src/Layout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Layout.tsx b/src/Layout.tsx index 195215e..4d3bad6 100644 --- a/src/Layout.tsx +++ b/src/Layout.tsx @@ -1,8 +1,10 @@ import React from "react"; import { Outlet } from "react-router"; +import { ScrollRestoration } from "react-router-dom"; export const Layout = () => (
+
);