[Upgrade Assistant] Add execution context (#145304)

This commit is contained in:
Alejandro Fernández Haro 2022-11-16 01:42:57 +01:00 committed by GitHub
parent 05d1ff852c
commit dd1ad53b9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -189,9 +189,11 @@ export const App = ({ history }: { history: ScopedHistory }) => {
export const RootComponent = (dependencies: AppDependencies) => {
const {
history,
core: { i18n, application, http },
core: { i18n, application, http, executionContext },
} = dependencies.services;
executionContext.set({ type: 'application', page: 'upgradeAssistant' });
return (
<RedirectAppLinks application={application} className={APP_WRAPPER_CLASS}>
<AuthorizationProvider httpClient={http} privilegesEndpoint={`${API_BASE_PATH}/privileges`}>