Disabled no longer makes sense for an assignment on the student

This commit is contained in:
Joao Ramos
2024-09-03 22:42:12 +01:00
parent 04c9ff24ea
commit 8aed075553

View File

@@ -173,12 +173,12 @@ export default function StudentDashboard({user, users, linkedCorporate}: Props)
<div <div
className="tooltip flex h-full w-full items-center justify-end pl-8 md:hidden" className="tooltip flex h-full w-full items-center justify-end pl-8 md:hidden"
data-tip="Your screen size is too small to perform an assignment"> data-tip="Your screen size is too small to perform an assignment">
<Button disabled={!assignment.start} className="h-full w-full !rounded-xl" variant="outline"> <Button className="h-full w-full !rounded-xl" variant="outline">
Start Start
</Button> </Button>
</div> </div>
<Button <Button
disabled={!assignment.start}
className="-md:hidden h-full w-full max-w-[50%] !rounded-xl" className="-md:hidden h-full w-full max-w-[50%] !rounded-xl"
onClick={() => startAssignment(assignment)} onClick={() => startAssignment(assignment)}
variant="outline"> variant="outline">