@applica-software-guru/react-admin 1.4.197 → 1.4.198

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applica-software-guru/react-admin",
3
- "version": "1.4.197",
3
+ "version": "1.4.198",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -5,6 +5,7 @@ import { useMenuConfig, useThemeConfig } from '../../hooks';
5
5
 
6
6
  import { ChangePasswordForm } from '../ra-forms';
7
7
  import _ from 'lodash';
8
+ import { ApplicaAuthProvider } from '@applica-software-guru/iam-client';
8
9
 
9
10
  enum LayoutActionType {
10
11
  UPDATE_MEDIA = 'updateMedia',
@@ -130,7 +131,7 @@ const DefaultState: ILayoutState = {
130
131
  LayoutContext = createContext<ILayoutContext | undefined>(undefined);
131
132
 
132
133
  function LayoutProvider(props: ILayoutProviderProps) {
133
- const authProvider = useAuthProvider();
134
+ const authProvider = useAuthProvider() as ApplicaAuthProvider;
134
135
  const identity = useGetIdentity() as UseGetIdentityResult,
135
136
  theme = useTheme(),
136
137
  downMd = useMediaQuery(theme.breakpoints.down('md')),