From baca2b5851c64342067bc6089de4399a909666f6 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 21 Sep 2023 19:44:26 +0800 Subject: [PATCH] For debugging --- src/utils/show-toast.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/show-toast.js b/src/utils/show-toast.js index f9469ce2..f5197d0b 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 };