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 CHANGED
File without changes
@@ -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].name} />
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-plasmic-app",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "description": "Create Plasmic-powered React apps",
5
5
  "main": "./dist/lib.js",
6
6
  "types": "./dist/lib.d.ts",
@@ -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].name} />
86
+ <PlasmicComponent component={plasmicData.entryCompMetas[0].displayName} />
87
87
  </PlasmicRootProvider>
88
88
  );
89
89
  // Use revalidate if you want incremental static regeneration