scaffolder: fix index routes for react-router stable

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-08-23 14:47:04 +02:00
parent f04fab1c56
commit c286cce3f1
2 changed files with 2 additions and 0 deletions
@@ -125,6 +125,7 @@ export const Router = (props: RouterProps) => {
return (
<Routes>
<Route
path="/"
element={
<ScaffolderPage
groups={groups}
@@ -78,6 +78,7 @@ export const Router = (props: PropsWithChildren<NextRouterProps>) => {
return (
<Routes>
<Route
path="/"
element={
<TemplateListPage
TemplateCardComponent={TemplateCardComponent}