|
|
|
|
@ -2,7 +2,7 @@ import { useStore } from "@nanostores/react";
|
|
|
|
|
import { Alert, Button, Form, Input, Space, Typography } from "antd";
|
|
|
|
|
import { LockOutlined, UserOutlined } from "@ant-design/icons";
|
|
|
|
|
import React from "react";
|
|
|
|
|
import { Link, Navigate } from "react-router-dom";
|
|
|
|
|
import { Navigate } from "react-router-dom";
|
|
|
|
|
import { isAuthorized$ } from "../stores/auth";
|
|
|
|
|
import { signin, signinError$, signinLoading$ } from "../stores/signin";
|
|
|
|
|
|
|
|
|
|
@ -56,10 +56,6 @@ function LoginForm() {
|
|
|
|
|
Войти
|
|
|
|
|
</Button>
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
|
|
<div style={{ textAlign: "center" }}>
|
|
|
|
|
<Link to="/register">Регистрация</Link>
|
|
|
|
|
</div>
|
|
|
|
|
</Form>
|
|
|
|
|
</Space>
|
|
|
|
|
);
|
|
|
|
|
|