feat: reenable question page links

This commit is contained in:
Vyacheslav Matyukhin 2022-04-27 23:22:11 +04:00
parent d378674c8c
commit 692dee183e
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -146,16 +146,14 @@ export const DisplayQuestion: React.FC<Props> = ({
</div> </div>
) : null} ) : null}
<div> <div>
{process.env.NEXT_PUBLIC_ENABLE_QUESTION_PAGES ? ( <Link href={`/questions/${question.id}`} passHref>
<Link href={`/questions/${question.id}`} passHref> <a className="float-right block ml-2 mt-1.5">
<a className="float-right block ml-2 mt-1.5"> <FaExpand
<FaExpand size="18"
size="18" className="text-gray-400 hover:text-gray-700"
className="text-gray-400 hover:text-gray-700" />
/> </a>
</a> </Link>
</Link>
) : null}
<Card.Title> <Card.Title>
<a <a
className="text-black no-underline" className="text-black no-underline"