@bigbinary/neeto-tags-frontend 1.0.2 → 1.0.3

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.cjs.js CHANGED
@@ -3724,10 +3724,8 @@ var useMergeTags = function useMergeTags() {
3724
3724
  payload = _ref4.payload;
3725
3725
  return tagsApi.merge(url, payload);
3726
3726
  }, {
3727
- onSuccess: function onSuccess(_ref5) {
3728
- var notice = _ref5.notice;
3729
- queryClient.invalidateQueries([TAG_KEY]);
3730
- neetoui.Toastr.success(notice);
3727
+ onSuccess: function onSuccess() {
3728
+ return queryClient.invalidateQueries([TAG_KEY]);
3731
3729
  }
3732
3730
  });
3733
3731
  };
@@ -4019,7 +4017,11 @@ var Dashboard = function Dashboard(_ref) {
4019
4017
  });
4020
4018
  }
4021
4019
  deleteTags === null || deleteTags === void 0 ? void 0 : (_deleteTags$onSuccess = deleteTags.onSuccess) === null || _deleteTags$onSuccess === void 0 ? void 0 : _deleteTags$onSuccess.callback();
4022
- neetoui.Toastr.success(t("deleteSuccess"));
4020
+ // @ts-ignore
4021
+ neetoui.Toastr.success("", {
4022
+ icon: "👍",
4023
+ className: "w-20"
4024
+ });
4023
4025
  },
4024
4026
  onError: function onError(_ref2) {
4025
4027
  var errors = _ref2.errors;