@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.mjs CHANGED
@@ -5748,7 +5748,7 @@ var extensionValidator = (extensions, message) => {
5748
5748
  if (!extensions.includes(fileFormat)) {
5749
5749
  return {
5750
5750
  code: error_code_default.FileInvalidType,
5751
- message: message != null ? message : "File has invalid dimension"
5751
+ message: message != null ? message : formatValidationMessage(extensions)
5752
5752
  };
5753
5753
  }
5754
5754
  return null;