import { FunctionComponent } from "react"; import { Avatar, Button, Card, Container, Divider, PasswordInput, Stack, TextInput, } from "@mantine/core"; import { useForm } from "@mantine/form"; import { useSystem } from "@/apis/hooks"; import { Environment } from "@/utilities"; const Authentication: FunctionComponent = () => { const { login } = useSystem(); const form = useForm({ initialValues: { username: "", password: "", }, }); return (
{ login(values); })} >
); }; export default Authentication;