Skip to content

Commit 89cedc7

Browse files
button size change
1 parent 29aedb9 commit 89cedc7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

client/src/pages/events/[id].tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Image from "next/image";
2+
import Link from "next/link";
23
import { useRouter } from "next/router";
34

45
import { Button } from "@/components/ui/button";
@@ -33,7 +34,9 @@ export default function EventDetailsPage() {
3334
</Button>
3435
}
3536
primaryAction={
36-
<Button className="flex-1 rounded-full">Join Event</Button>
37+
<Link href={"/home"} className="flex-1">
38+
<Button className="w-full rounded-full">Join Event</Button>
39+
</Link>
3740
}
3841
>
3942
{/* main container */}

0 commit comments

Comments
 (0)