diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeService.js b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeService.js index 87cfa82e86..4ca7bfc5c0 100644 --- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeService.js +++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeService.js @@ -148,7 +148,7 @@ export class AuthorizeService { throw new Error(`Found an invalid number of subscriptions ${subscriptionIndex.length}`); } - this._callbacks = this._callbacks.splice(subscriptionIndex[0].index, 1); + this._callbacks.splice(subscriptionIndex[0].index, 1); } notifySubscribers() {