From 1f8da4f4ba9dbe8cb4a99bacf236d18585fcb09e Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Wed, 25 Jan 2023 17:51:59 +0100 Subject: [PATCH] Remove the warning for double-calling `studio.initialize()` Because Theatric will always call `studio.initialize()` and if the user also separately calls it, they'll always get a warning. --- theatre/studio/src/Studio.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/theatre/studio/src/Studio.ts b/theatre/studio/src/Studio.ts index edd3cf1..2b6e6dd 100644 --- a/theatre/studio/src/Studio.ts +++ b/theatre/studio/src/Studio.ts @@ -150,9 +150,6 @@ export class Studio { } if (this._initializeFnCalled) { - console.log( - `\`studio.initialize()\` is already called. Ignoring subsequent calls.`, - ) return this._initializedDeferred.promise } this._initializeFnCalled = true