fixed back button in register page

This commit is contained in:
AmirHossein Mahmoodi
2023-11-15 10:55:14 +03:30
parent 8337aa0435
commit fd2442d9a9
2 changed files with 6 additions and 5 deletions

View File

@@ -74,13 +74,13 @@ const RegisterComponent = () => {
href={
backUrlDecodedPath
? decodeURIComponent(backUrlDecodedPath)
: "/login"
: "/"
}
>
{t("RegisterPage.link_routing_back_to")}{" "}
{backUrlDecodedPath
? t("RegisterPage.link_routing_previuos_page")
: t("RegisterPage.link_routing_login")}
: t("LoginPage.link_routing_main_page")}
</LinkRouting>
</Stack>
</FullPageLayout>