updated image loading

This commit is contained in:
2025-08-22 10:38:28 +01:00
parent 44af1b21b7
commit 5ededd8e05
15 changed files with 258 additions and 120 deletions

View File

@@ -1,8 +1,11 @@
import { Form, Formik, Field } from "formik";
import FormGroup from "../components/FormGroup";
import type { NPEDFieldType } from "../../../types/types";
import { useNPEDAuth } from "../../../hooks/useNPEDAuh";
const NPEDFields = () => {
const { signIn, isError } = useNPEDAuth();
const initialValues = {
username: "",
password: "",
@@ -10,7 +13,8 @@ const NPEDFields = () => {
};
const handleSubmit = (values: NPEDFieldType) => {
alert(JSON.stringify(values));
console.log(isError);
signIn(values);
};
return (