From 25372b3c9e0ee39d8235e1592e768d673a8e50e7 Mon Sep 17 00:00:00 2001 From: Jamie Pine <32987599+jamiepine@users.noreply.github.com> Date: Thu, 16 Dec 2021 16:03:32 -0800 Subject: [PATCH] - fix border radius (#1339) - upgrade button / input components - clean up markup --- pages/auth/forgot-password/index.tsx | 87 ++++++++++------------------ 1 file changed, 31 insertions(+), 56 deletions(-) diff --git a/pages/auth/forgot-password/index.tsx b/pages/auth/forgot-password/index.tsx index 4f7066b56f..5bb5463c1e 100644 --- a/pages/auth/forgot-password/index.tsx +++ b/pages/auth/forgot-password/index.tsx @@ -1,13 +1,14 @@ import debounce from "lodash/debounce"; import { GetServerSidePropsContext } from "next"; import { getCsrfToken } from "next-auth/client"; -import Link from "next/link"; import React, { SyntheticEvent } from "react"; import { getSession } from "@lib/auth"; import { useLocale } from "@lib/hooks/useLocale"; +import { TextField } from "@components/form/fields"; import { HeadSeo } from "@components/seo/head-seo"; +import Button from "@components/ui/Button"; export default function ForgotPassword({ csrfToken }: { csrfToken: string }) { const { t, i18n } = useLocale(); @@ -78,9 +79,9 @@ export default function ForgotPassword({ csrfToken }: { csrfToken: string }) { return (
{t("reset_instructions")}
+{t("reset_instructions")}
{error &&{error.message}
}