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:
parent
fb661d017f
commit
1f8da4f4ba
1 changed files with 0 additions and 3 deletions
|
@ -150,9 +150,6 @@ export class Studio {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._initializeFnCalled) {
|
if (this._initializeFnCalled) {
|
||||||
console.log(
|
|
||||||
`\`studio.initialize()\` is already called. Ignoring subsequent calls.`,
|
|
||||||
)
|
|
||||||
return this._initializedDeferred.promise
|
return this._initializedDeferred.promise
|
||||||
}
|
}
|
||||||
this._initializeFnCalled = true
|
this._initializeFnCalled = true
|
||||||
|
|
Loading…
Reference in a new issue