1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00

Use standard pattern for lazy loading modules

This commit is contained in:
Thomas Rittson
2022-05-11 12:55:42 +10:00
parent b81a83ebd3
commit 64d7530b36

View File

@@ -231,8 +231,8 @@ const routes: Routes = [
{ path: "setup/families-for-enterprise", component: FamiliesForEnterpriseSetupComponent },
{
path: "organizations",
loadChildren: () =>
import("./organizations/organizations.module").then((m) => m.OrganizationsModule),
loadChildren: async () =>
(await import("./organizations/organizations.module")).OrganizationsModule,
},
],
},