packages/core-api: use fragment instead of div to wrap app route

This commit is contained in:
Patrik Oldsberg
2020-06-15 19:25:11 +02:00
parent 972745a091
commit 6692243b20
+1 -4
View File
@@ -207,10 +207,7 @@ export class PrivateAppImpl implements BackstageApp {
<AppThemeProvider>
<Router>
<Routes>
<Route
path={`${pathname}/*`}
element={<div>{children}</div>}
/>
<Route path={`${pathname}/*`} element={<>{children}</>} />
</Routes>
</Router>
</AppThemeProvider>