Skip to content

Commit

Permalink
Merge pull request #3 from lugvitc/main
Browse files Browse the repository at this point in the history
Deploy v3: Visual fixes
  • Loading branch information
WizzyGeek authored Jun 18, 2024
2 parents ec00d6e + a14785f commit 4498f79
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,10 @@ export default function Login() {
<div className={'p-2 rounded-l-md ' + ((sentAt > 0 || isSubmitting) ? "" : " bg-yellow-400")}><img src='/mail.svg' className=' h-8 w-8'/></div>
<div className='p-2 w-full'>Continue with Email</div>
</button>
<div className='text-sm'>
{sentAt <= 0 && isSubmitting ? "Sending email..." : ""}
{sentAt <= 0 && isSubmitting ? (<div className='text-sm'>Sending email...</div>) : ""}
{sentAt > 0 ? (
`Check you email for login link${ left > 0 ? `, get another link in ${left} seconds` : null }`
(<div className='text-sm'>Check you email for login link{ left > 0 ? `, get another link in ${left} seconds` : null } </div>)
) : null}
</div>
</Form>
)}
</Formik>
Expand Down

0 comments on commit 4498f79

Please sign in to comment.