@decocms/start 1.2.0 → 1.2.1

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": "@decocms/start",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
5
  "description": "Deco framework for TanStack Start - CMS bridge, admin protocol, hooks, schema generation",
6
6
  "main": "./src/index.ts",
@@ -77,7 +77,7 @@ export function applySectionConventions(input: ApplySectionConventionsInput): vo
77
77
  }
78
78
 
79
79
  if (eagerSections.length > 0) {
80
- const existing = getAsyncRenderingConfig();
80
+ const existing = getAsyncRenderingConfig() ?? {};
81
81
  setAsyncRenderingConfig({
82
82
  ...existing,
83
83
  alwaysEager: [...(existing.alwaysEager ?? []), ...eagerSections],