scaffolder: fix route structure for RedirectingComponent
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:
@@ -134,9 +134,10 @@ export const Router = (props: RouterProps) => {
|
||||
/>
|
||||
}
|
||||
/>
|
||||
<Route path={legacySelectedTemplateRouteRef.path}>
|
||||
<RedirectingComponent />
|
||||
</Route>
|
||||
<Route
|
||||
path={legacySelectedTemplateRouteRef.path}
|
||||
element={<RedirectingComponent />}
|
||||
/>
|
||||
<Route
|
||||
path={selectedTemplateRouteRef.path}
|
||||
element={
|
||||
|
||||
Reference in New Issue
Block a user