remove references to vuex
This commit is contained in:
parent
5b9027f17a
commit
7ae22bbb75
10 changed files with 3 additions and 29 deletions
|
|
@ -612,13 +612,6 @@ export const useUsersStore = defineStore('users', {
|
|||
|
||||
// Login/Logout
|
||||
async loginUser(accessToken) {
|
||||
const store = window.vuex
|
||||
const dispatch =
|
||||
store?.dispatch ??
|
||||
(() => {
|
||||
/* no-op */
|
||||
}) // for tests
|
||||
|
||||
this.loggingIn = true
|
||||
|
||||
try {
|
||||
|
|
@ -723,7 +716,6 @@ export const useUsersStore = defineStore('users', {
|
|||
}
|
||||
},
|
||||
logout() {
|
||||
const store = window.vuex
|
||||
const oauth = useOAuthStore()
|
||||
|
||||
// Pause fetching
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue