diff --git a/src/utils/show-toast.js b/src/utils/show-toast.js index f9469ce..f5197d0 100644 --- a/src/utils/show-toast.js +++ b/src/utils/show-toast.js @@ -1,5 +1,7 @@ import Toastify from 'toastify-js'; +window._showToast = showToast; + function showToast(props) { if (typeof props === 'string') { props = { text: props };