@ctlyst.id/internal-ui 3.5.3 → 3.5.4

Sign up to get free protection for your applications and to get access to all the features.
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;