@@ -11,16 +11,14 @@ import {
1111} from '@geti/core/src/services/application-services-provider.component' ;
1212import { OnboardingProfile } from '@geti/core/src/users/services/onboarding-service.interface' ;
1313import { defaultTheme , IntelBrandedLoading , Provider as ThemeProvider } from '@geti/ui' ;
14+ import { QueryClientProvider } from '@tanstack/react-query' ;
1415import { render , RenderOptions , RenderResult } from '@testing-library/react' ;
1516import { AuthProvider } from 'react-oidc-context' ;
1617import { MemoryRouter as Router } from 'react-router-dom' ;
1718
1819import { AccountStatusDTO } from '../core/organizations/dtos/organizations.interface' ;
1920import { NotificationProvider , Notifications , useNotification } from '../notification/notification.component' ;
20- import {
21- createGetiQueryClient ,
22- QueryClientProvider ,
23- } from '../providers/query-client-provider/query-client-provider.component' ;
21+ import { createGetiQueryClient } from '../providers/query-client-provider/query-client-provider.component' ;
2422import { TusUploadProvider } from '../providers/tus-upload-provider/tus-upload-provider.component' ;
2523import { getMockedWorkspace } from './mocked-items-factory/mocked-workspace' ;
2624
@@ -79,7 +77,7 @@ const PrefilledQueryClientProvider = ({
7977 return client ;
8078 } , [ addNotification , featureFlags , profile ] ) ;
8179
82- return < QueryClientProvider customQueryClient = { prefilledQueryClient } > { children } </ QueryClientProvider > ;
80+ return < QueryClientProvider client = { prefilledQueryClient } > { children } </ QueryClientProvider > ;
8381} ;
8482
8583export const RequiredProviders = ( {
0 commit comments