pull/691/head
Rick Carlino 2018-03-02 15:07:13 -06:00
parent b4f09cfcbd
commit 2ef4f54699
1 changed files with 2 additions and 3 deletions

View File

@ -11,9 +11,6 @@ function maybeReplaceDesignerModules(next: RouterState, replace: RedirectFunctio
}
}
const controlsRoute =
page("app/controls", async () => (await import("./controls/controls")).Controls);
function page(path: string, getter: () => Promise<React.ReactType>) {
return {
path,
@ -24,6 +21,8 @@ function page(path: string, getter: () => Promise<React.ReactType>) {
}
};
}
const controlsRoute =
page("app/controls", async () => (await import("./controls/controls")).Controls);
const designerRoutes = {
path: "app/designer",