diff --git a/src/notify/function-call.tsx b/src/notify/function-call.tsx index e01fef390..e35241221 100644 --- a/src/notify/function-call.tsx +++ b/src/notify/function-call.tsx @@ -59,7 +59,7 @@ function Notify(options: NotifyMessage | NotifyOptions) { clearTimeout(timer); if (options.duration! > 0) { - timer = setTimeout(Notify.clear, options.duration); + timer = window.setTimeout(Notify.clear, options.duration); } return instance;