@hitachivantara/app-shell-ui 2.0.0-next.5 → 2.0.0-next.7

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.
@@ -97,7 +97,7 @@ const AppShellProvider = ({
97
97
  config: localConfig,
98
98
  configUrl
99
99
  }) => {
100
- const [loadedConfig, setLoadedConfig] = useState(void 0);
100
+ const [loadedConfig, setLoadedConfig] = useState();
101
101
  const [hasError, setHasError] = useState(false);
102
102
  useEffect(() => {
103
103
  if (!localConfig && configUrl) {
@@ -112,13 +112,7 @@ const AppShellProvider = ({
112
112
  () => localConfig ?? loadedConfig,
113
113
  [localConfig, loadedConfig]
114
114
  );
115
- const [initialConfig, setInitialConfig] = useState(void 0);
116
- useEffect(() => {
117
- if (rawConfig && !initialConfig) {
118
- setInitialConfig(rawConfig);
119
- }
120
- }, [rawConfig, initialConfig]);
121
- const { model, isPending: areBundlesLoading } = useModelFromConfig(initialConfig);
115
+ const { model, isPending: areBundlesLoading } = useModelFromConfig(rawConfig);
122
116
  const systemProviders = useMemo(() => {
123
117
  if (!model?.systemProviders) {
124
118
  return void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/app-shell-ui",
3
- "version": "2.0.0-next.5",
3
+ "version": "2.0.0-next.7",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "author": "Hitachi Vantara UI Kit Team",
@@ -19,10 +19,10 @@
19
19
  "@emotion/react": "^11.10.5",
20
20
  "@emotion/styled": "^11.10.5",
21
21
  "@hitachivantara/app-shell-events": "^2.0.0-next.3",
22
- "@hitachivantara/app-shell-navigation": "^2.0.0-next.5",
22
+ "@hitachivantara/app-shell-navigation": "^2.0.0-next.7",
23
23
  "@hitachivantara/app-shell-services": "^2.0.0-next.3",
24
- "@hitachivantara/app-shell-shared": "^2.0.0-next.5",
25
- "@hitachivantara/uikit-react-core": "^6.0.0-next.6",
24
+ "@hitachivantara/app-shell-shared": "^2.0.0-next.7",
25
+ "@hitachivantara/uikit-react-core": "^6.0.0-next.8",
26
26
  "@hitachivantara/uikit-react-icons": "^6.0.0-next.5",
27
27
  "@mui/material": "^7.0.2",
28
28
  "i18next": "^24.2.2",
@@ -44,7 +44,7 @@
44
44
  "access": "public",
45
45
  "directory": "package"
46
46
  },
47
- "gitHead": "bf1f8dcbead53467253e86b24f15ecbc2b23ed0f",
47
+ "gitHead": "24e6e06e007de4c6262eab9c62a279bdf62627e0",
48
48
  "exports": {
49
49
  ".": {
50
50
  "types": "./dist/index.d.ts",