Disabled no longer makes sense for an assignment on the student
This commit is contained in:
@@ -173,12 +173,12 @@ export default function StudentDashboard({user, users, linkedCorporate}: Props)
|
||||
<div
|
||||
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">
|
||||
<Button disabled={!assignment.start} className="h-full w-full !rounded-xl" variant="outline">
|
||||
<Button className="h-full w-full !rounded-xl" variant="outline">
|
||||
Start
|
||||
</Button>
|
||||
</div>
|
||||
<Button
|
||||
disabled={!assignment.start}
|
||||
|
||||
className="-md:hidden h-full w-full max-w-[50%] !rounded-xl"
|
||||
onClick={() => startAssignment(assignment)}
|
||||
variant="outline">
|
||||
|
||||
Reference in New Issue
Block a user