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,7 +146,6 @@ 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
@ -155,7 +154,6 @@ export const DisplayQuestion: React.FC<Props> = ({
/> />
</a> </a>
</Link> </Link>
) : null}
<Card.Title> <Card.Title>
<a <a
className="text-black no-underline" className="text-black no-underline"