We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29aedb9 commit 89cedc7Copy full SHA for 89cedc7
1 file changed
client/src/pages/events/[id].tsx
@@ -1,4 +1,5 @@
1
import Image from "next/image";
2
+import Link from "next/link";
3
import { useRouter } from "next/router";
4
5
import { Button } from "@/components/ui/button";
@@ -33,7 +34,9 @@ export default function EventDetailsPage() {
33
34
</Button>
35
}
36
primaryAction={
- <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>
40
41
>
42
{/* main container */}
0 commit comments