fix
This commit is contained in:
parent
bd5153fd15
commit
12e6971b0a
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ export function handle(
|
||||||
client.handle(cmd, handler)
|
client.handle(cmd, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hacky workaround. Timers don't exist in Deploy runtime, what a shame!
|
// Hacky workaround. Timers don't exist in Deploy runtime :(
|
||||||
|
|
||||||
if (typeof (window as any).setTimeout !== 'function') {
|
if (typeof (window as any).setTimeout !== 'function') {
|
||||||
Object.defineProperty(window, 'setTimeout', {
|
Object.defineProperty(window, 'setTimeout', {
|
||||||
|
|
Loading…
Reference in a new issue