Clean useless stuff

This commit is contained in:
Bubka 2023-10-20 17:21:14 +02:00
parent 4f59545e97
commit e9d9f661ad
3 changed files with 0 additions and 23 deletions

View File

@ -1,16 +0,0 @@
import { defineStore } from 'pinia'
export const useDataStore = defineStore({
id: 'data',
state: () => {
return {
twofaccounts: [],
groups: [],
}
},
actions: {
},
})

View File

@ -2,7 +2,6 @@
import Form from '@/components/formElements/Form'
import { useUserStore } from '@/stores/user'
import { useBusStore } from '@/stores/bus'
import { useDataStore } from '@/stores/data'
import { useNotifyStore } from '@/stores/notify'
import { UseColorMode } from '@vueuse/components'
@ -10,8 +9,6 @@
const user = useUserStore()
const bus = useBusStore()
const notify = useNotifyStore()
const data = useDataStore()
const { twofaccounts } = storeToRefs(data)
const qrcodeInput = ref(null)
const qrcodeInputLabel = ref(null)

View File

@ -4,11 +4,9 @@
import twofaccountService from '@/services/twofaccountService'
import { useUserStore } from '@/stores/user'
import { useBusStore } from '@/stores/bus'
import { useDataStore } from '@/stores/data'
import { useNotifyStore } from '@/stores/notify'
import { UseColorMode } from '@vueuse/components'
import { useIdGenerator } from '@/composables/helpers'
import { watch } from 'vue'
const { copy } = useClipboard({ legacy: true })
const $2fauth = inject('2fauth')
@ -16,8 +14,6 @@ import { watch } from 'vue'
const user = useUserStore()
const bus = useBusStore()
const notify = useNotifyStore()
const data = useDataStore()
const { twofaccounts } = storeToRefs(data)
const form = reactive(new Form({
service: '',
account: '',