Refactor!: Codebase
This commit is contained in:
@@ -96,13 +96,15 @@
|
||||
|
||||
|
||||
<script setup>
|
||||
import { useClient } from '@/plugins/clientPlugin';
|
||||
import { useAuthStore } from '@/plugins/store/authStore';
|
||||
import { ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import FooterLayout from '@/layouts/FooterLayout.vue';
|
||||
import {auth} from '@/stores/auth.js';
|
||||
import {ref} from 'vue';
|
||||
import {useRouter} from 'vue-router';
|
||||
import {useClient} from "@/plugins/api.js";
|
||||
|
||||
const authStore = useAuthStore();
|
||||
const client = useClient();
|
||||
const api = useClient()
|
||||
|
||||
const store = auth();
|
||||
const router = useRouter()
|
||||
|
||||
let user = ref({});
|
||||
@@ -453,4 +455,4 @@ async function login() {
|
||||
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user