@shellui/core 0.2.0-beta.2 → 0.2.0-beta.3

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": "@shellui/core",
3
- "version": "0.2.0-beta.2",
3
+ "version": "0.2.0-beta.3",
4
4
  "description": "ShellUI Core - Core React application runtime",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",
@@ -58,7 +58,7 @@
58
58
  "workbox-strategies": "^7.1.0",
59
59
  "workbox-cacheable-response": "^7.1.0",
60
60
  "workbox-expiration": "^7.1.0",
61
- "@shellui/sdk": "0.2.0-beta.2"
61
+ "@shellui/sdk": "0.2.0-beta.3"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "react": "^18.0.0 || ^19.0.0",
@@ -51,7 +51,7 @@ export const ContentView = ({
51
51
  return () => {
52
52
  removeIframe(iframeId);
53
53
  };
54
- }, [iframeUrl, navItem.path]);
54
+ }, [iframeUrl, navItem?.path ?? '']);
55
55
 
56
56
  useLayoutEffect(() => {
57
57
  if (ignoreMessages) return;
@@ -217,7 +217,7 @@ export const ContentView = ({
217
217
  <iframe
218
218
  ref={iframeRef}
219
219
  src={iframeUrl}
220
- key={iframeUrl + navItem.path}
220
+ key={iframeUrl + (navItem?.path ?? '')}
221
221
  loading="eager"
222
222
  style={{
223
223
  width: '100%',