Skip to content

Commit f9e79df

Browse files
committed
Make sure the entire join session button is clickable
1 parent 5efcf61 commit f9e79df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/ui/dashboard/join-coaching-session.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ export function JoinCoachingSession({ userId }: CoachingSessionCardProps) {
173173
)}
174174
{coachingSessionId && (
175175
<div className="grid gap-2">
176-
<Button variant="outline" className="w-full">
177-
<Link href={`/coaching-sessions/${coachingSessionId}`}>
176+
<Link href={`/coaching-sessions/${coachingSessionId}`}>
177+
<Button variant="outline" className="w-full">
178178
Join Session
179-
</Link>
180-
</Button>
179+
</Button>
180+
</Link>
181181
</div>
182182
)}
183183
</CardContent>

0 commit comments

Comments
 (0)