Skip to content

Commit

Permalink
fix(@vtmn/svelte): fix dispatch close for VtmnAlertItem / `VtmnSn…
Browse files Browse the repository at this point in the history
…ackbarItem` / `VtmnToastItem` (#1486)
  • Loading branch information
Tlahey committed Feb 27, 2024
1 parent 2bc6928 commit cdd09b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
const _setTimeout = () =>
(timeoutId =
typeof timeout === 'number' &&
timeout > 0 &&
setTimeout(
closeHandler,
(timeout < Infinity ? timeout : INFINITE_TIMEOUT_MS) +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
const _setTimeout = () =>
(timeoutId =
typeof timeout === 'number' &&
timeout > 0 &&
setTimeout(
closeHandler,
(timeout < Infinity ? timeout : INFINITE_TIMEOUT_MS) +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
const _setTimeout = () =>
(timeoutId =
typeof timeout === 'number' &&
timeout > 0 &&
setTimeout(
closeHandler,
(timeout < Infinity ? timeout : INFINITE_TIMEOUT_MS) +
Expand Down

0 comments on commit cdd09b2

Please sign in to comment.