Skip to content

Commit

Permalink
fix: use unshift instead of Swal.fire for immediate
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Nov 26, 2023
1 parent e5d35cc commit 3d9bac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flash.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3d9bac1

Please sign in to comment.