@zauru-sdk/hooks 2.0.51 → 2.0.61

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.
@@ -114,6 +114,7 @@ const useGetReduxCatalog = (CATALOG_NAME, { online = false, wheres = [], otherPa
114
114
  title: `Ocurrió un error al cargar el catálogo: ${CATALOG_NAME}.`,
115
115
  description: "Error: " + ex,
116
116
  });
117
+ setData({ ...data, loading: false });
117
118
  }
118
119
  }
119
120
  }, []);
@@ -18,7 +18,7 @@ const Alert = ({ type, title, description, onClose }) => {
18
18
  case "info":
19
19
  return "bg-blue-100 text-blue-800";
20
20
  case "warning":
21
- return "bg-yellow-400 text-yellow-900";
21
+ return "bg-yellow-100 text-yellow-800";
22
22
  default:
23
23
  return "bg-gray-100 text-gray-800";
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/hooks",
3
- "version": "2.0.51",
3
+ "version": "2.0.61",
4
4
  "description": "Hooks reutilizables dentro de las webapps de Zauru.",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -33,5 +33,5 @@
33
33
  "react": "^18.2.0",
34
34
  "react-dom": "^18.2.0"
35
35
  },
36
- "gitHead": "8e73cc127487f184bb23bd3fa4668e25520356a2"
36
+ "gitHead": "1ce5c4fa59354272ffa305d364172b1114059daa"
37
37
  }