From 070b49d90f37752d39cfecfdebfb75c500dc1faa Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Tue, 21 Dec 2021 18:09:39 +0530 Subject: [PATCH] fix: toast styling, remove from window --- src/components/Toast.vue | 3 ++- src/utils.js | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Toast.vue b/src/components/Toast.vue index 8f873d7c..05f45a2f 100644 --- a/src/components/Toast.vue +++ b/src/components/Toast.vue @@ -11,6 +11,7 @@ items-center mb-3 w-60 + bg-gray-100 " style="transition: opacity 150ms ease-in" :style="{ opacity }" @@ -19,7 +20,7 @@

{{ message }}

-
diff --git a/src/utils.js b/src/utils.js index 31f2e210..04ff76b5 100644 --- a/src/utils.js +++ b/src/utils.js @@ -337,5 +337,3 @@ export function showToast(props) { }, }); } - -window.showToast = showToast;