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.
This commit is contained in:
Aria Minaei 2023-01-25 17:51:59 +01:00
parent fb661d017f
commit 1f8da4f4ba

View file

@ -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