diff --git a/packages/react-core/src/scalprum-provider.tsx b/packages/react-core/src/scalprum-provider.tsx index dbac19d..0d9d8a9 100644 --- a/packages/react-core/src/scalprum-provider.tsx +++ b/packages/react-core/src/scalprum-provider.tsx @@ -72,15 +72,20 @@ export function ScalprumProvider = Record ({ + config: state.appsConfig, + api: state.api, + initialized: true, + pluginStore: state.pluginStore, + }), + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore + [props.api, props.config, props.scalprum, state], + ); + return ( - + {props.children} );