@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.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;