From 88eaab8bfcdd3e610a2422cd894819990b2d9888 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 1 Nov 2023 12:10:00 +0300 Subject: [PATCH] Update HeadlessDoc.vue --- doc/toast/HeadlessDoc.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/toast/HeadlessDoc.vue b/doc/toast/HeadlessDoc.vue index 602776f53..31efc7c9d 100644 --- a/doc/toast/HeadlessDoc.vue +++ b/doc/toast/HeadlessDoc.vue @@ -115,7 +115,7 @@ export default { if (this.progress >= 100) { this.progress = 100; - clearInterval(interval); + clearInterval(this.interval); } }, 1000); } @@ -214,7 +214,7 @@ const show = () => { if (this.progress >= 100) { this.progress = 100; - clearInterval(interval); + clearInterval(this.interval); } }, 1000); }