File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import Image from "next/image" ;
2+ import Link from "next/link" ;
23import { useRouter } from "next/router" ;
34import React from "react" ;
45import { SocialIcon } from "react-social-icons" ;
@@ -133,12 +134,12 @@ export default function IndividualGamePage() {
133134 key = { c . member_id }
134135 className = "flex items-center gap-x-2"
135136 >
136- < a
137+ < Link
137138 href = { `/members/${ c . member_id } ` }
138139 className = "text-primary hover:underline"
139140 >
140141 { c . name }
141- </ a >
142+ </ Link >
142143 { Array . isArray ( c . social_media ) &&
143144 c . social_media . map ( ( sm ) => (
144145 < SocialIcon
@@ -181,12 +182,12 @@ export default function IndividualGamePage() {
181182 </ td >
182183 < td className = "py-1 text-right sm:py-2" >
183184 { eventID && eventName ? (
184- < a
185+ < Link
185186 href = { `/events/${ eventID } ` }
186187 className = "text-primary hover:underline"
187188 >
188189 { eventName }
189- </ a >
190+ </ Link >
190191 ) : (
191192 < span className = "text-muted-foreground" >
192193 No past/upcoming event
You can’t perform that action at this time.
0 commit comments