create-plasmic-app 0.0.49 → 0.0.50

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.
@@ -42,7 +42,6 @@ import {
42
42
  } from "@plasmicapp/loader-nextjs";
43
43
  ${file_utils_1.ifTs(ts, `import type { GetStaticPaths, GetStaticProps } from "next";\n`)}
44
44
  import Error from "next/error";
45
- import Head from "next/head";
46
45
  import { useRouter } from "next/router";
47
46
  import { PLASMIC } from "../plasmic-init";
48
47
 
@@ -63,7 +62,6 @@ export default function PlasmicLoaderPage(props${file_utils_1.ifTs(ts, `: {
63
62
  prefetchedQueryData={queryCache}
64
63
  pageParams={pageMeta.params}
65
64
  pageQuery={router.query}
66
- Head={Head}
67
65
  >
68
66
  <PlasmicComponent component={pageMeta.displayName} />
69
67
  </PlasmicRootProvider>
@@ -85,7 +83,6 @@ export const getStaticProps${file_utils_1.ifTs(ts, `: GetStaticProps`)} = async
85
83
  loader={PLASMIC}
86
84
  prefetchedData={plasmicData}
87
85
  pageParams={pageMeta.params}
88
- Head={Head}
89
86
  >
90
87
  <PlasmicComponent component={pageMeta.displayName} />
91
88
  </PlasmicRootProvider>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-plasmic-app",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "description": "Create Plasmic-powered React apps",
5
5
  "main": "./dist/lib.js",
6
6
  "types": "./dist/lib.d.ts",
@@ -45,7 +45,6 @@ import {
45
45
  } from "@plasmicapp/loader-nextjs";
46
46
  ${ifTs(ts, `import type { GetStaticPaths, GetStaticProps } from "next";\n`)}
47
47
  import Error from "next/error";
48
- import Head from "next/head";
49
48
  import { useRouter } from "next/router";
50
49
  import { PLASMIC } from "../plasmic-init";
51
50
 
@@ -69,7 +68,6 @@ export default function PlasmicLoaderPage(props${ifTs(
69
68
  prefetchedQueryData={queryCache}
70
69
  pageParams={pageMeta.params}
71
70
  pageQuery={router.query}
72
- Head={Head}
73
71
  >
74
72
  <PlasmicComponent component={pageMeta.displayName} />
75
73
  </PlasmicRootProvider>
@@ -94,7 +92,6 @@ export const getStaticProps${ifTs(
94
92
  loader={PLASMIC}
95
93
  prefetchedData={plasmicData}
96
94
  pageParams={pageMeta.params}
97
- Head={Head}
98
95
  >
99
96
  <PlasmicComponent component={pageMeta.displayName} />
100
97
  </PlasmicRootProvider>