From bf9d3537b30eaab858029314a7badb85603886a9 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Sun, 21 Mar 2021 00:28:33 +0100 Subject: [PATCH] Added toast timer functions --- src/App.vue | 2 +- src/components/celestials/CelestialCard.vue | 24 ++++++++++-- src/components/toast/ToastCard.vue | 25 ++++++++++-- src/components/toast/ToastsList.vue | 43 +++++++-------------- src/store/index.ts | 11 +++++- src/store/toasts/index.ts | 21 ++++++++++ 6 files changed, 89 insertions(+), 37 deletions(-) create mode 100644 src/store/toasts/index.ts diff --git a/src/App.vue b/src/App.vue index 04fe9b4..c289db1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -16,7 +16,7 @@ import ToastsList from "@/components/toast/ToastsList.vue"; export default defineComponent({ components: { Navbar, - ToastsList, + ToastsList } }); diff --git a/src/components/celestials/CelestialCard.vue b/src/components/celestials/CelestialCard.vue index 84e7d12..9297a2a 100644 --- a/src/components/celestials/CelestialCard.vue +++ b/src/components/celestials/CelestialCard.vue @@ -85,7 +85,7 @@