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:
parent
162a1f8ba7
commit
e15c63027f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue