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.Subscribe
selector={(state) => [state.canSubmit, state.isSubmitting]}
>
{([canSubmit, isSubmitting]) => (
<form.Subscribe selector={(state) => [state.canSubmit]}>
{([canSubmit]) => (
<div>
{/* TODO: Add loader when submitting */}
{/* TODO: Add loader when [state.isSubmitting] */}
<div className="flex items-center justify-between gap-4">
<Button
disabled={!canSubmit}