@ctlyst.id/internal-ui 3.5.3 → 3.5.4

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/dist/index.js CHANGED
@@ -5877,7 +5877,7 @@ var extensionValidator = (extensions, message) => {
5877
5877
  if (!extensions.includes(fileFormat)) {
5878
5878
  return {
5879
5879
  code: error_code_default.FileInvalidType,
5880
- message: message != null ? message : "File has invalid dimension"
5880
+ message: message != null ? message : formatValidationMessage(extensions)
5881
5881
  };
5882
5882
  }
5883
5883
  return null;