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>
) : null}
<div>
{process.env.NEXT_PUBLIC_ENABLE_QUESTION_PAGES ? (
<Link href={`/questions/${question.id}`} passHref>
<a className="float-right block ml-2 mt-1.5">
<FaExpand
size="18"
className="text-gray-400 hover:text-gray-700"
/>
</a>
</Link>
) : null}
<Link href={`/questions/${question.id}`} passHref>
<a className="float-right block ml-2 mt-1.5">
<FaExpand
size="18"
className="text-gray-400 hover:text-gray-700"
/>
</a>
</Link>
<Card.Title>
<a
className="text-black no-underline"