Migrate all existing references to session getters and state to the useUser composable #12203
Closed
Labels
DEV: frontend
help wanted
Open source contributors welcome
TAG: tech update / debt
Change not visible to user
Milestone
The useUser composable now encapsulates all the vuex getters and state for the session, we should migrate all references to these to instead import the useUser composable and read from there.
See the composable for the full list of getters and state that will need to be remapped: https://github.com/learningequality/kolibri/blob/develop/kolibri/core/assets/src/composables/useUser.js#L36
Note, this will not involve removing the session vuex module.
The text was updated successfully, but these errors were encountered: