@applica-software-guru/react-admin 1.4.0-beta.3 → 1.4.0-beta.4
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
|
@@ -5,7 +5,7 @@ import { useMenuConfig, useThemeConfig } from '../../hooks';
|
|
|
5
5
|
|
|
6
6
|
import { ChangePasswordForm } from '../ra-forms';
|
|
7
7
|
import _ from 'lodash';
|
|
8
|
-
import {
|
|
8
|
+
import { IApplicaAuthProvider } from '@applica-software-guru/iam-client/dist/types';
|
|
9
9
|
|
|
10
10
|
enum LayoutActionType {
|
|
11
11
|
UPDATE_MEDIA = 'updateMedia',
|
|
@@ -131,7 +131,7 @@ const DefaultState: ILayoutState = {
|
|
|
131
131
|
LayoutContext = createContext<ILayoutContext | undefined>(undefined);
|
|
132
132
|
|
|
133
133
|
function LayoutProvider(props: ILayoutProviderProps) {
|
|
134
|
-
const authProvider = useAuthProvider<
|
|
134
|
+
const authProvider = useAuthProvider<IApplicaAuthProvider>();
|
|
135
135
|
const identity = useGetIdentity() as UseGetIdentityResult,
|
|
136
136
|
theme = useTheme(),
|
|
137
137
|
downMd = useMediaQuery(theme.breakpoints.down('md')),
|