Skip to content

Commit

Permalink
frontend: update routing to fix nested route bug (#2029)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschaller authored Feb 15, 2022
1 parent e9cd58f commit 7962bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/packages/core/src/AppProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const ClutchApp: React.FC<ClutchAppProps> = ({
<ApplicationContext.Provider value={{ workflows: discoverableWorkflows }}>
<Routes>
<Route path="/*" element={<AppLayout isLoading={isLoading} />}>
<Route key="landing" path="/" element={<Landing />} />
<Route key="landing" path="" element={<Landing />} />
{workflows.map((workflow: Workflow) => (
<ErrorBoundary workflow={workflow} key={workflow.path.split("/")[0]}>
<Route path={`${workflow.path}/*`} element={<Outlet />}>
Expand Down

0 comments on commit 7962bdb

Please sign in to comment.