refactor: disable button when not ready

This commit is contained in:
Derrick Hammer 2023-10-12 13:22:28 -04:00
parent ef177cad5f
commit 812b064de1
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,10 @@ export default function () {
</LumeDashboardTrigger>
</LumeDashboard>
) : (
<button className="ml-2 w-full rounded-full bg-[hsl(113,49%,55%)] text-black">
<button
className="ml-2 w-full rounded-full bg-[hsl(113,49%,55%)] text-black"
disabled={!ready}
>
Login
</button>
)}