@makeswift/runtime 0.11.5 → 0.11.6

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.
@@ -4161,8 +4161,12 @@ function getTranslatableData(definition2, data) {
4161
4161
  return null;
4162
4162
  return getRichTextV2TranslatableData(richTextData);
4163
4163
  case ListControlType:
4164
+ if (data == null)
4165
+ return null;
4164
4166
  return getListTranslatableData(definition2, data);
4165
4167
  case ShapeControlType:
4168
+ if (data == null)
4169
+ return null;
4166
4170
  return getShapeTranslatableData(definition2, data);
4167
4171
  default:
4168
4172
  return null;