Skip to content

Commit

Permalink
refactor: naming improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed May 11, 2024
1 parent 98e7de2 commit 64b829c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/app/sign-in/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Metadata } from "next";
import { SigninForm } from "@/components/signin-form";
import { SignInForm } from "@/components/signin-form";

import ITS from "~/ITS.svg";
import Logo from "~/logo.svg";
Expand Down Expand Up @@ -30,7 +30,7 @@ export default function AuthenticationPage() {
</div> */}
</div>
<div className="lg:p-8">
<SigninForm />
<SignInForm />
</div>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/signin-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import * as React from "react";
import Link from "next/link";
import useSignIn from "@/lib/api/auth/signin";
import useSignIn from "@/lib/api/auth/sign-in";
import { signInFormSchema } from "@/lib/validation/sign-in";
import { FaEye, FaEyeSlash } from "react-icons/fa";

Expand All @@ -16,7 +16,7 @@ import {
} from "@tanya.in/ui/card";
import { Form, FormInput, useForm } from "@tanya.in/ui/form";

export function SigninForm() {
export function SignInForm() {
const [isVisible, setIsVisible] = React.useState(false);

const { mutate, isPending } = useSignIn();
Expand Down
File renamed without changes.

0 comments on commit 64b829c

Please sign in to comment.