diff --git a/src/client/webapp/util.ts b/src/client/webapp/util.ts index bb99960..083a36a 100644 --- a/src/client/webapp/util.ts +++ b/src/client/webapp/util.ts @@ -91,8 +91,8 @@ export default class Util { } /** waits a number of MS before continuing */ - static async sleep(ms: number): Promise { - return await new Promise(resolve => { + static async sleep(ms: number): Promise { + await new Promise(resolve => { setTimeout(resolve, ms); }); }