Cleanup. Stuff from yesterday idk

This commit is contained in:
2025-06-06 08:43:18 -05:00
parent a776c5a30a
commit 35e019558f
29 changed files with 866 additions and 694 deletions

View File

@ -69,7 +69,7 @@ export const ResetPasswordForm = ({
}
} catch (error) {
setStatusMessage(
error instanceof Error ? error.message : 'Password was not updated!'
error instanceof Error ? error.message : 'Password was not updated!',
);
} finally {
setIsLoading(false);
@ -86,7 +86,7 @@ export const ResetPasswordForm = ({
</CardHeader>
<CardContent>
<Form {...form}>
<form
<form
onSubmit={form.handleSubmit(handleUpdatePassword)}
className='space-y-6'
>
@ -123,10 +123,11 @@ export const ResetPasswordForm = ({
)}
/>
{statusMessage && (
<div
<div
className={`text-sm text-center ${
statusMessage.includes('Error') || statusMessage.includes('failed')
? 'text-destructive'
statusMessage.includes('Error') ||
statusMessage.includes('failed')
? 'text-destructive'
: 'text-green-600'
}`}
>