From 2da59ba53393cb1ccee4d6ccd2b422a7d3d7c5c3 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Mon, 26 Oct 2020 20:13:05 -0300 Subject: [PATCH] Context Performance --- components/auth/ForgotPassword.tsx | 4 ++-- components/auth/LoginView.tsx | 4 ++-- components/auth/SignUpView.tsx | 4 ++-- components/ui/Input/Input.tsx | 20 +++++++++++--------- components/ui/context.tsx | 29 ++++++++++++++++------------- 5 files changed, 33 insertions(+), 28 deletions(-) diff --git a/components/auth/ForgotPassword.tsx b/components/auth/ForgotPassword.tsx index 083a86649..1519e371c 100644 --- a/components/auth/ForgotPassword.tsx +++ b/components/auth/ForgotPassword.tsx @@ -1,6 +1,6 @@ import { FC, useEffect, useState, useCallback } from 'react' import { validate } from 'email-validator' -import { Info } from'@components/icons' +import { Info } from '@components/icons' import { useUI } from '@components/ui/context' import { Logo, Button, Input } from '@components/ui' import useSignup from '@lib/bigcommerce/use-signup' @@ -59,7 +59,7 @@ const ForgotPassword: FC = () => {
{message}
)} - +
)} - - + +