Fix failing build

This commit is contained in:
Pijus Kamandulis 2024-10-16 00:08:51 +03:00
parent 36cef1ab04
commit 3f04eabfd6

View File

@ -65,12 +65,10 @@ const Login = () => {
)} )}
</form.Field> </form.Field>
<form.Subscribe <form.Subscribe selector={(state) => [state.canSubmit]}>
selector={(state) => [state.canSubmit, state.isSubmitting]} {([canSubmit]) => (
>
{([canSubmit, isSubmitting]) => (
<div> <div>
{/* TODO: Add loader when submitting */} {/* TODO: Add loader when [state.isSubmitting] */}
<div className="flex items-center justify-between gap-4"> <div className="flex items-center justify-between gap-4">
<Button <Button
disabled={!canSubmit} disabled={!canSubmit}