Skip to content

Commit

Permalink
fix(use-timeout): remove unnecessary timer argument from removeTimeou…
Browse files Browse the repository at this point in the history
…t call (#17591)
  • Loading branch information
Clover-You authored Oct 21, 2024
1 parent 22fe5c1 commit 70d04f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/composables/use-timeout/use-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function () {
removeTimeout,

registerTimeout (fn, delay) {
removeTimeout(timer)
removeTimeout()

if (vmIsDestroyed(vm) === false) {
timer = setTimeout(() => {
Expand Down

0 comments on commit 70d04f5

Please sign in to comment.