Fix regression with links in prompts (#12172)

This commit is contained in:
Marcus Blättermann 2023-01-25 08:51:40 +01:00 committed by GitHub
parent 05a3685849
commit 57ba37bc52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,7 +235,7 @@ const handlePromot = ({ lineFlat, prompt }) => {
<Fragment key={j}> <Fragment key={j}>
{j !== 0 && ' '} {j !== 0 && ' '}
<span className={itemClassNames}> <span className={itemClassNames}>
<OptionalLink hidden hideIcon to={url}> <OptionalLink noLinkLayout hideIcon to={url}>
{text} {text}
</OptionalLink> </OptionalLink>
</span> </span>