You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { computed } from '@ember/object'; and
....
@computed('session.data.authenticated.access_token')
throws the below errors Don't use computed properties with native classes. Use getters or @tracked properties instead ember/no-computed-properties-in-native-classes
Use of undeclared dependencies in computed property: session.isAuthenticated ember/require-computed-property-dependencies
Not sure how to fix the above errors.
The text was updated successfully, but these errors were encountered:
Have implemented ember-simple-auth as per the guides here https://github.com/simplabs/ember-simple-auth
Have followed the walkthrough https://github.com/simplabs/ember-simple-auth#walkthrough
Upon running
npm run lint:js
the linethrows the below errors
Don't use computed properties with native classes. Use getters or @tracked properties instead ember/no-computed-properties-in-native-classes
Use of undeclared dependencies in computed property: session.isAuthenticated ember/require-computed-property-dependencies
Not sure how to fix the above errors.
The text was updated successfully, but these errors were encountered: