From a9333dc90f56ae4e19fabff4822ac1ffba7c6205 Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Thu, 7 Mar 2024 16:14:25 -0800 Subject: Remove unneeded MUI components --- src/features/auth/GuestLogin.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/features') diff --git a/src/features/auth/GuestLogin.tsx b/src/features/auth/GuestLogin.tsx index c3b3b96..11f3d5b 100644 --- a/src/features/auth/GuestLogin.tsx +++ b/src/features/auth/GuestLogin.tsx @@ -1,6 +1,6 @@ import { useNavigate } from 'react-router-dom'; import { useDispatch } from 'react-redux'; -import { Box, Button, Container, TextField, Typography } from '@mui/material'; +import { Button, Container, TextField, Typography } from '@mui/material'; import { useForm } from 'react-hook-form'; import { setCredentials } from './authSlice'; import { useLoginMutation, LoginRequest } from '../../apiSlice'; @@ -28,11 +28,11 @@ function GuestLogin() { return ( - Guest Login @@ -45,7 +45,7 @@ function GuestLogin() { error={!!errors.firstName} helperText={errors.firstName?.message} required - {...register("firstName", { required: "This field is required" })} + {...register('firstName', { required: 'This field is required' })} /> - + ); } -- cgit v1.2.3