From 70d04f5059312be732e50b2a65cc79716e9bcbac Mon Sep 17 00:00:00 2001 From: Clover You <50982977+Clover-You@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:54:12 +0800 Subject: [PATCH] fix(use-timeout): remove unnecessary timer argument from removeTimeout call (#17591) --- ui/src/composables/use-timeout/use-timeout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/composables/use-timeout/use-timeout.js b/ui/src/composables/use-timeout/use-timeout.js index 6aece56e140..d142601753e 100644 --- a/ui/src/composables/use-timeout/use-timeout.js +++ b/ui/src/composables/use-timeout/use-timeout.js @@ -26,7 +26,7 @@ export default function () { removeTimeout, registerTimeout (fn, delay) { - removeTimeout(timer) + removeTimeout() if (vmIsDestroyed(vm) === false) { timer = setTimeout(() => {