Skip to content

Commit

Permalink
fix(app-template-admin): remove root route
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 authored and EmilK15 committed Jun 30, 2020
1 parent a6f2396 commit 1373dcc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/app-template-admin/src/index.tsx
Expand Up @@ -97,13 +97,6 @@ export default createTemplate<AdminAppOptions>(opts => {
];

const routes: RoutePlugin[] = [
{
type: "route",
name: "route-root",
route: (
<Route exact path="/" render={() => <Redirect to={opts.defaultRoute || "/"} />} />
)
},
{
type: "route",
name: "route-not-found",
Expand Down

0 comments on commit 1373dcc

Please sign in to comment.