@makeswift/runtime 0.11.4 → 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.
@@ -4153,8 +4153,12 @@ function getTranslatableData(definition2, data) {
4153
4153
  return null;
4154
4154
  return getRichTextV2TranslatableData(richTextData);
4155
4155
  case ListControlType:
4156
+ if (data == null)
4157
+ return null;
4156
4158
  return getListTranslatableData(definition2, data);
4157
4159
  case ShapeControlType:
4160
+ if (data == null)
4161
+ return null;
4158
4162
  return getShapeTranslatableData(definition2, data);
4159
4163
  default:
4160
4164
  return null;