create-puck-app 0.21.0-canary.d32e582b → 0.21.0-canary.e310a175

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": "create-puck-app",
3
- "version": "0.21.0-canary.d32e582b",
3
+ "version": "0.21.0-canary.e310a175",
4
4
  "author": "Chris Villa <chris@puckeditor.com>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -21,7 +21,7 @@ export async function loader() {
21
21
  export function meta({ data: loaderData }: Route.MetaArgs) {
22
22
  return [
23
23
  {
24
- title: loaderData.data.root.title,
24
+ title: loaderData.data.root.props?.title ?? "",
25
25
  },
26
26
  ];
27
27
  }
@@ -42,7 +42,7 @@ export function meta({ data: loaderData }: Route.MetaArgs) {
42
42
  {
43
43
  title: loaderData.isEditorRoute
44
44
  ? `Edit: ${loaderData.path}`
45
- : loaderData.data.root.title,
45
+ : loaderData.data.root.props?.title ?? "",
46
46
  },
47
47
  ];
48
48
  }