Hide registration feature

dev
Platon Yasev 3 years ago
parent ac5b86f4d6
commit aaf107f2c7

@ -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>
);

Loading…
Cancel
Save