@timeax/form-palette 0.1.18 → 0.1.19

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/extra.js CHANGED
@@ -25753,7 +25753,7 @@ var ShadcnImageIconVariant = React74__namespace.forwardRef(function ShadcnImageI
25753
25753
  const openImagePicker = React74__namespace.useCallback(async () => {
25754
25754
  var _a;
25755
25755
  if (isDisabled) return;
25756
- const resolvedLoader = customLoader != null ? customLoader : getPaletteUtil("customLoader");
25756
+ const resolvedLoader = typeof customLoader == "function" ? customLoader : customLoader ? getPaletteUtil("customLoader") : void 0;
25757
25757
  if (resolvedLoader) {
25758
25758
  try {
25759
25759
  const result = await resolvedLoader({