create-plasmic-app 0.0.43 → 0.0.44
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/index.js +0 -0
- package/dist/templates/nextjs.js +1 -1
- package/package.json +1 -1
- package/src/templates/nextjs.ts +1 -1
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/templates/nextjs.js
CHANGED
|
@@ -74,7 +74,7 @@ export const getStaticProps${file_utils_1.ifTs(ts, `: GetStaticProps`)} = async
|
|
|
74
74
|
// Cache the necessary data fetched for the page
|
|
75
75
|
const queryCache = await extractPlasmicQueryData(
|
|
76
76
|
<PlasmicRootProvider loader={PLASMIC} prefetchedData={plasmicData}>
|
|
77
|
-
<PlasmicComponent component={plasmicData.entryCompMetas[0].
|
|
77
|
+
<PlasmicComponent component={plasmicData.entryCompMetas[0].displayName} />
|
|
78
78
|
</PlasmicRootProvider>
|
|
79
79
|
);
|
|
80
80
|
// Use revalidate if you want incremental static regeneration
|
package/package.json
CHANGED
package/src/templates/nextjs.ts
CHANGED
|
@@ -83,7 +83,7 @@ export const getStaticProps${ifTs(
|
|
|
83
83
|
// Cache the necessary data fetched for the page
|
|
84
84
|
const queryCache = await extractPlasmicQueryData(
|
|
85
85
|
<PlasmicRootProvider loader={PLASMIC} prefetchedData={plasmicData}>
|
|
86
|
-
<PlasmicComponent component={plasmicData.entryCompMetas[0].
|
|
86
|
+
<PlasmicComponent component={plasmicData.entryCompMetas[0].displayName} />
|
|
87
87
|
</PlasmicRootProvider>
|
|
88
88
|
);
|
|
89
89
|
// Use revalidate if you want incremental static regeneration
|