richie-education 2.25.0-b2.dev101 → 2.25.0-b2.dev102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@ import { CunninghamProvider } from '@openfun/cunningham-react';
2
2
  import { PropsWithChildren } from 'react';
3
3
  import fetchMock from 'fetch-mock';
4
4
  import JoanieSessionProvider from 'contexts/SessionContext/JoanieSessionProvider';
5
+ import { DashboardBreadcrumbsProvider } from 'widgets/Dashboard/contexts/DashboardBreadcrumbsContext';
5
6
  import { IntlWrapper } from './IntlWrapper';
6
7
  import { ReactQueryWrapper } from './ReactQueryWrapper';
7
8
  import { RouterWrapper } from './RouterWrapper';
@@ -26,14 +27,18 @@ export const JoanieSessionWrapper = ({ children }: PropsWithChildren) => {
26
27
 
27
28
  export const JoanieAppWrapper = ({
28
29
  children,
29
- options,
30
- }: PropsWithChildren<{ options?: AppWrapperProps }>) => {
30
+ intlOptions,
31
+ queryOptions,
32
+ routerOptions,
33
+ }: PropsWithChildren<AppWrapperProps>) => {
31
34
  return (
32
- <IntlWrapper {...(options?.intlOptions || { locale: 'en' })}>
35
+ <IntlWrapper {...(intlOptions || { locale: 'en' })}>
33
36
  <CunninghamProvider>
34
- <ReactQueryWrapper {...(options?.queryOptions || {})}>
37
+ <ReactQueryWrapper {...(queryOptions || {})}>
35
38
  <JoanieSessionWrapper>
36
- <RouterWrapper {...options?.routerOptions}>{children}</RouterWrapper>
39
+ <DashboardBreadcrumbsProvider>
40
+ <RouterWrapper {...routerOptions}>{children}</RouterWrapper>
41
+ </DashboardBreadcrumbsProvider>
37
42
  </JoanieSessionWrapper>
38
43
  </ReactQueryWrapper>
39
44
  </CunninghamProvider>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "richie-education",
3
- "version": "2.25.0-b2.dev101",
3
+ "version": "2.25.0-b2.dev102",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {