DEV: Use auto-injected keyValueStore for screenTrack (#17434)

This manual assignment was added before the keyValueStore was refactored into a service. Now that it's a service, it gets all our standard auto-injections, including the keyValueStore.

Overwriting an automatic injection like this raises an error in future Ember versions.
This commit is contained in:
David Taylor 2022-07-11 22:12:25 +01:00 committed by GitHub
parent 162a1f8ba7
commit e15c63027f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -16,8 +16,6 @@ export default {
const user = container.lookup("current-user:main");
const appEvents = container.lookup("service:app-events");
screenTrack.keyValueStore = keyValueStore;
// Preconditions
if (user) {
return;