@@ -44,13 +44,23 @@ export default function Grant({ post, markdown, search }) {
46 const mentorLink =
46 const mentorLink =
48+ mentor.map((each, index) => {
47− mentor && ob.isValidPatp(mentor) ? (
49+ return ob.isValidPatp(each) ? (
48− <Link href={`/ids/${mentor}`} passHref>
52+ <Link href={`/ids/${each}`} passHref>
49− <a className="text-green-400">{mentor}</a>
53+ <a className="text-green-400">{each}</a>
54 const metaPost = Object.assign({}, post);
64 const metaPost = Object.assign({}, post);
55 metaPost.title = `${post.title} - Grant`;
65 metaPost.title = `${post.title} - Grant`;