From 79c18316c362d298cc42146d6f878b2d2dc6ab4e Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Fri, 3 Mar 2023 20:22:14 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/components/login.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/web/components/login.tsx b/apps/web/components/login.tsx index 93266aa50..68a5acd60 100644 --- a/apps/web/components/login.tsx +++ b/apps/web/components/login.tsx @@ -1,13 +1,12 @@ import { LockClosedIcon } from "@heroicons/react/20/solid"; import Link from "next/link"; -import { FormProvider, SubmitHandler, useForm } from "react-hook-form"; +import { FormProvider, useForm } from "react-hook-form"; import Logo from "./logo"; -import { getCsrfToken, signIn } from "next-auth/react"; -import { ErrorCode } from "@documenso/lib/auth"; +import { signIn } from "next-auth/react"; import { useState } from "react"; import { useRouter } from "next/router"; -import { toast, Toaster } from "react-hot-toast"; +import { toast } from "react-hot-toast"; import { NEXT_PUBLIC_WEBAPP_URL } from "@documenso/lib/constants"; import { Button } from "@documenso/ui";