Minor UX and code improvements

This commit is contained in:
Bruno Bernardino
2024-12-06 06:08:15 +00:00
parent 63a39970fa
commit e08188b58b
3 changed files with 10 additions and 8 deletions

View File

@@ -150,7 +150,7 @@ export default function Login({ data }: PageProps<Data, FreshContextState>) {
{data?.notice
? (
<section class='notification-success'>
<h3>Verify your email!</h3>
<h3>{isEmailEnabled() ? 'Verify your email!' : 'Account created!'}</h3>
<p>{data?.notice}</p>
</section>
)