aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/login
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-26 20:42:26 +0800
committercrupest <crupest@outlook.com>2022-05-26 20:42:26 +0800
commit9a295a585aa98eae89aa09bf1fc36f5c141608dd (patch)
tree64342ffc38a3cebeca3a9a05c513dc615d47740e /FrontEnd/src/views/login
parent3139780ae330c44789c6588f2105ca152f9ffb76 (diff)
downloadtimeline-9a295a585aa98eae89aa09bf1fc36f5c141608dd.tar.gz
timeline-9a295a585aa98eae89aa09bf1fc36f5c141608dd.tar.bz2
timeline-9a295a585aa98eae89aa09bf1fc36f5c141608dd.zip
...
Diffstat (limited to 'FrontEnd/src/views/login')
-rw-r--r--FrontEnd/src/views/login/index.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/FrontEnd/src/views/login/index.tsx b/FrontEnd/src/views/login/index.tsx
index 3a1ccfc4..3ea505bb 100644
--- a/FrontEnd/src/views/login/index.tsx
+++ b/FrontEnd/src/views/login/index.tsx
@@ -1,6 +1,6 @@
import React from "react";
-import { useNavigate } from "react-router-dom";
-import { useTranslation } from "react-i18next";
+import { Link, useNavigate } from "react-router-dom";
+import { useTranslation, Trans } from "react-i18next";
import { useUser, userService } from "@/services/user";
@@ -149,6 +149,9 @@ const LoginPage: React.FC = (_) => {
{t("user.login")}
</LoadingButton>
</div>
+ <Trans i18nKey="login.noAccount">
+ 0<Link to="/register">1</Link>2
+ </Trans>
</div>
);
};