17500: Fixes page-not-found failing cypress test.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Mon, 19 Apr 2021 18:29:57 +0000 (15:29 -0300)
committerDaniel KutyƂa <daniel.kutyla@contractors.roche.com>
Fri, 23 Apr 2021 11:02:56 +0000 (13:02 +0200)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

src/views/workbench/workbench.tsx

index 78ec3c87cb24bce04e5a7387963409d94db074df..dc02bdd6364a73693c0293eb9e7fdf29341a7ea2 100644 (file)
@@ -205,7 +205,7 @@ export const WorkbenchPanel =
                         </Grid>
                         <Grid item xs className={props.classes.content}>
                             <Switch>
-                                {routes}
+                                {routes.props.children}
                                 <Route path={Routes.NO_MATCH} component={NotFoundPanel} />
                             </Switch>
                         </Grid>