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="purple"
|
||||
color="secondary"
|
||||
size="lg"
|
||||
variant="outline"
|
||||
@click="handleClick"
|
||||
@@ -35,9 +35,8 @@ const handleClick = () => {
|
||||
title: 'Verificación Frontend',
|
||||
description: `Usuario: ${user.value.username}
|
||||
Grupos (${groupCount}): ${groupList}`,
|
||||
color: 'purple',
|
||||
icon: 'i-heroicons-check-badge',
|
||||
timeout: 5000
|
||||
color: 'secondary',
|
||||
icon: 'i-heroicons-check-badge'
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user