cmt
This commit is contained in:
parent
fe6ee7ddac
commit
bd5153fd15
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ export function handle(
|
|||
client.handle(cmd, handler)
|
||||
}
|
||||
|
||||
// Hacky workaround. Timers don't exist in Deploy runtime, what a shame!
|
||||
|
||||
if (typeof (window as any).setTimeout !== 'function') {
|
||||
Object.defineProperty(window, 'setTimeout', {
|
||||
value: (fn: CallableFunction, _ms: number, ...args: any[]) => {
|
||||
|
|
Loading…
Reference in a new issue