From 3d9bac122c2c37daa7878884a51a557dc3effdb1 Mon Sep 17 00:00:00 2001 From: titanism <101466223+titanism@users.noreply.github.com> Date: Sun, 26 Nov 2023 14:30:06 -0600 Subject: [PATCH] fix: use unshift instead of Swal.fire for immediate --- src/flash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flash.js b/src/flash.js index 4a4d84e..8124ca1 100644 --- a/src/flash.js +++ b/src/flash.js @@ -12,7 +12,7 @@ module.exports = () => { // render any full screen alerts immediately // eslint-disable-next-line max-depth if (message.grow === 'fullscreen') { - Swal.fire(message); + steps.unshift(message); } else { steps.push(message); }