We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 175070c commit 289b0a6Copy full SHA for 289b0a6
packages/component/src/provider.ts
@@ -272,7 +272,7 @@ export class Provider<T extends Name> {
272
existingCallbacks.add(callback);
273
this.onInitCallbacks.set(normalizedIdentifier, existingCallbacks);
274
275
- const existingInstance = this.instances.has(normalizedIdentifier);
+ const existingInstance = this.instances.get(normalizedIdentifier);
276
if (existingInstance) {
277
callback(existingInstance, normalizedIdentifier);
278
}
0 commit comments