From f5cc245c631010b249bc423e4b4ca44156c03c57 Mon Sep 17 00:00:00 2001 From: Ali <83188384+testA113@users.noreply.github.com> Date: Mon, 14 Aug 2023 16:53:36 +1200 Subject: [PATCH] fix(app): use correct withCurrentUser wrapper [EE-5928] (#10041) 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 c45e66eb1..21cbee050 100644 --- a/app/kubernetes/react/components/index.ts +++ b/app/kubernetes/react/components/index.ts @@ -16,7 +16,6 @@ import { ApplicationSummaryWidget, ApplicationDetailsWidget, } from '@/react/kubernetes/applications/DetailsView'; -import { withUserProvider } from '@/react/test-utils/withUserProvider'; import { withFormValidation } from '@/react-tools/withFormValidation'; import { withCurrentUser } from '@/react-tools/withCurrentUser'; @@ -104,7 +103,7 @@ export const ngModule = angular .component( 'applicationDetailsWidget', r2a( - withUIRouter(withReactQuery(withUserProvider(ApplicationDetailsWidget))), + withUIRouter(withReactQuery(withCurrentUser(ApplicationDetailsWidget))), [] ) );