@blocklet/pages-kit 0.4.82 → 0.4.84

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.
@@ -283,7 +283,10 @@ function useComponent({ instanceId, componentId, properties, locale, dev }) {
283
283
  return undefined;
284
284
  // keep preload props
285
285
  let v = (0, property_1.parsePropertyValue)(property, value, { locale, defaultLocale: dev?.defaultLocale });
286
- if (property.type === 'component' && property.key && preload?.props?.[property.key]) {
286
+ if (dev?.mode === 'production' &&
287
+ property.type === 'component' &&
288
+ property.key &&
289
+ preload?.props?.[property.key]) {
287
290
  v = {
288
291
  ...(preload?.props?.[property.key] ?? {}),
289
292
  ...v,