mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-16 15:37:32 -03:00
Arreglado error de ts
This commit is contained in:
@@ -3,7 +3,7 @@ import type { LoginDto } from "../../types";
|
||||
import { sesionStore } from "@/stores/usuario";
|
||||
import { goto } from "$app/navigation";
|
||||
|
||||
export async function login(e:FormDataEvent,dto: LoginDto, callbackfn:()=>void){
|
||||
export async function login(e:SubmitEvent, dto: LoginDto, callbackfn:()=>void){
|
||||
e.preventDefault();
|
||||
if (dto.password == "" || dto.username == "") return;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user