Fix: Corregir errores de TypeScript en componentes
- Instalar @types/node para resolver referencias a process - Corregir colores inválidos en componentes (orange→warning, purple→secondary, gray→neutral, etc.) - Agregar tipos explícitos en GroupCheckButton y EditProfileButton - Eliminar propiedad timeout inválida en toasts
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<UButton
|
||||
color="orange"
|
||||
color="warning"
|
||||
size="lg"
|
||||
variant="outline"
|
||||
:loading="loading"
|
||||
@@ -39,9 +39,8 @@ const handleClick = async () => {
|
||||
title: 'Verificación Backend',
|
||||
description: `Usuario: ${response.user.username}
|
||||
Grupos (${groupCount}): ${groupList}`,
|
||||
color: 'orange',
|
||||
icon: 'i-heroicons-server-stack',
|
||||
timeout: 5000
|
||||
color: 'warning',
|
||||
icon: 'i-heroicons-server-stack'
|
||||
})
|
||||
} else {
|
||||
toast.add({
|
||||
|
||||
Reference in New Issue
Block a user