For debugging

This commit is contained in:
Lim Chee Aun 2023-09-21 19:44:26 +08:00
parent 7e01b4a33a
commit baca2b5851

View file

@ -1,5 +1,7 @@
import Toastify from 'toastify-js';
window._showToast = showToast;
function showToast(props) {
if (typeof props === 'string') {
props = { text: props };