From 5862aa5dd8f3c1ea66d896d6ba26bde0e6211df7 Mon Sep 17 00:00:00 2001 From: Ali <83188384+testA113@users.noreply.github.com> Date: Mon, 14 Aug 2023 16:53:28 +1200 Subject: [PATCH] fix(app): use correct withCurrentUser wrapper [EE-5928] (#10040) Co-authored-by: testa113 --- app/kubernetes/react/components/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/kubernetes/react/components/index.ts b/app/kubernetes/react/components/index.ts index 05a4cf07f..242e9fe36 100644 --- a/app/kubernetes/react/components/index.ts +++ b/app/kubernetes/react/components/index.ts @@ -17,7 +17,6 @@ import { ApplicationDetailsWidget, ApplicationEventsDatatable, } from '@/react/kubernetes/applications/DetailsView'; -import { withUserProvider } from '@/react/test-utils/withUserProvider'; import { withFormValidation } from '@/react-tools/withFormValidation'; import { withCurrentUser } from '@/react-tools/withCurrentUser'; import { PlacementsDatatable } from '@/react/kubernetes/applications/ItemView/PlacementsDatatable'; @@ -106,7 +105,7 @@ export const ngModule = angular .component( 'applicationDetailsWidget', r2a( - withUIRouter(withReactQuery(withUserProvider(ApplicationDetailsWidget))), + withUIRouter(withReactQuery(withCurrentUser(ApplicationDetailsWidget))), [] ) )