mirror of
https://github.com/pikami/scrummie-poker.git
synced 2024-12-18 06:34:16 +00:00
Fix failing build
This commit is contained in:
parent
36cef1ab04
commit
3f04eabfd6
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user