vista-core-js 0.0.7 → 0.0.9
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/dist/app.js +1 -1
- package/package.json +1 -1
- package/src/app.tsx +1 -2
package/dist/app.js
CHANGED
|
@@ -69,5 +69,5 @@ export default function App({ initialComponent, initialRootLayout, metadata, ass
|
|
|
69
69
|
}
|
|
70
70
|
return (
|
|
71
71
|
/* @ts-ignore */
|
|
72
|
-
|
|
72
|
+
_jsx(RootLayoutComponent, { head: _jsx(VistaHead, { metadata: metadata, assets: assets }), children: _jsx(Suspense, { fallback: null, children: _jsx(PageComponent, {}, path) }) }));
|
|
73
73
|
}
|
package/package.json
CHANGED
package/src/app.tsx
CHANGED
|
@@ -128,8 +128,7 @@ export default function App({
|
|
|
128
128
|
|
|
129
129
|
return (
|
|
130
130
|
/* @ts-ignore */
|
|
131
|
-
<RootLayoutComponent>
|
|
132
|
-
<VistaHead metadata={metadata} assets={assets} />
|
|
131
|
+
<RootLayoutComponent head={<VistaHead metadata={metadata} assets={assets} />}>
|
|
133
132
|
<Suspense fallback={null}>
|
|
134
133
|
<PageComponent key={path} />
|
|
135
134
|
</Suspense>
|