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.
@@ -6813,8 +6813,8 @@ var useNotification = function useNotification() {
6813
6813
  if (clearCurrent) {
6814
6814
  toast.remove();
6815
6815
  }
6816
- toast.remove(toastId);
6817
- Promise.resolve().then(function () {
6816
+ toast.dismiss(toastId);
6817
+ setTimeout(function () {
6818
6818
  switch (type) {
6819
6819
  case 'success':
6820
6820
  toast.success(message, {
@@ -6879,7 +6879,7 @@ var useNotification = function useNotification() {
6879
6879
  });
6880
6880
  break;
6881
6881
  }
6882
- });
6882
+ }, 100);
6883
6883
  };
6884
6884
  return {
6885
6885
  sendNotification: sendNotification