Skip to content

Commit

Permalink
easy
Browse files Browse the repository at this point in the history
  • Loading branch information
0-don committed May 19, 2024
1 parent e0febcc commit 733d316
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions web/src/app/[locale]/(auth)/login/page.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
"use client";

import { MyInput } from "@/components/elements/MyInput";
import { BiLogIn } from "react-icons/bi";
import { MyLink } from "@/components/elements/MyLink";
import { LOGIN_USER } from "@/documents/mutation/auth";
import { CgPassword } from "react-icons/cg";
import { useGqlMutation } from "@/fetcher";
import { useRouter } from "@/navigation";
import { AuthStore, DisplayPassword } from "@/store/AuthStore";
import { Button } from "@nextui-org/button";
import { Divider } from "@nextui-org/divider";
import { useTranslations } from "next-intl";
import { BiLogIn } from "react-icons/bi";
import { CgPassword } from "react-icons/cg";
import { useSnapshot } from "valtio";

interface LoginPageProps {}
Expand Down Expand Up @@ -56,7 +56,7 @@ export default function LoginPage({}: LoginPageProps) {
</p>
</div>
<div className="flex justify-center">
<MyLink href="/register" color="primary" size="sm">
<MyLink href="/register">
{t("REGISTER_BUTTON")}
</MyLink>
</div>
Expand Down
4 changes: 1 addition & 3 deletions web/src/app/[locale]/(auth)/register/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ export default function RegisterPage({}: RegisterPageProps) {
</p>
</div>
<div className="flex justify-center">
<MyLink href="/login" color="primary" size="sm">
{t("LOGIN_BUTTON")}
</MyLink>
<MyLink href="/login">{t("LOGIN_BUTTON")}</MyLink>
</div>
</form>
);
Expand Down

0 comments on commit 733d316

Please sign in to comment.