Admin: Fixes infinite loading edit profile page (#34627)

* UserProfile: Fixes infinite loading spinner

* Refactor: some clean up

* Refactor: some more cleanup

* Tests: Adds tests for UserProfileEditPage

* Chore: updates after PR comments

* Refactor: removes unnecessary unmount/mount
This commit is contained in:
Hugo Häggmark
2021-05-25 14:48:16 +02:00
committed by GitHub
parent 92ac2c40d3
commit 881abb3af8
21 changed files with 875 additions and 376 deletions

View File

@@ -203,7 +203,7 @@ export function getAppRoutes(): RouteDescriptor[] {
{
path: '/profile',
component: SafeDynamicImport(
() => import(/* webpackChunkName: "UserProfileEdit" */ 'app/features/profile/UserProfileEdit')
() => import(/* webpackChunkName: "UserProfileEditPage" */ 'app/features/profile/UserProfileEditPage')
),
},
{