labsense-ui-kit 1.3.86 → 1.3.88
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6817,8 +6817,8 @@ var useNotification = function useNotification() {
|
|
|
6817
6817
|
if (clearCurrent) {
|
|
6818
6818
|
reactHotToast.toast.remove();
|
|
6819
6819
|
}
|
|
6820
|
-
reactHotToast.toast.
|
|
6821
|
-
|
|
6820
|
+
reactHotToast.toast.dismiss(toastId);
|
|
6821
|
+
setTimeout(function () {
|
|
6822
6822
|
switch (type) {
|
|
6823
6823
|
case 'success':
|
|
6824
6824
|
reactHotToast.toast.success(message, {
|
|
@@ -6883,7 +6883,7 @@ var useNotification = function useNotification() {
|
|
|
6883
6883
|
});
|
|
6884
6884
|
break;
|
|
6885
6885
|
}
|
|
6886
|
-
});
|
|
6886
|
+
}, 100);
|
|
6887
6887
|
};
|
|
6888
6888
|
return {
|
|
6889
6889
|
sendNotification: sendNotification
|