Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't create 2 instances of UserService (#437)
dockstore/dockstore#1764 UserService is listed as a provider in app.module.ts. A second instance of the UserService was getting loaded due to the 2 declarations, in here and in app.module.ts, which led to odd behavior: Logging in and out out would only update one of the instances of the service, and then when the other instance came into play for some components, that instances would still have a reference to the previous user.
- Loading branch information