refactor: натравил форматтер на весь фронт

This commit is contained in:
2026-05-25 02:06:11 +03:00
parent 24df65a13c
commit 98aaa86ec4
43 changed files with 1947 additions and 657 deletions
+6 -2
View File
@@ -12,7 +12,11 @@ const route = useRoute()
const isAuthPage = computed(() => Boolean(route.meta.public))
interface Toast { id: number; message: string; type: 'success' | 'error' | 'info' }
interface Toast {
id: number
message: string
type: 'success' | 'error' | 'info'
}
const toasts = ref<Toast[]>([])
let toastId = 0
@@ -21,7 +25,7 @@ function addToast(msg: string, type: Toast['type'] = 'success') {
}
function removeToast(id: number) {
toasts.value = toasts.value.filter(t => t.id !== id)
toasts.value = toasts.value.filter((t) => t.id !== id)
}
// expose globally via provide