feat: do not show declaration link on profile page if none given
parent
7a77d9107f
commit
9e4c5cdc77
|
@ -107,12 +107,14 @@ export const PageResistant = () => {
|
||||||
id="block-yui_3_17_2_1_1663343055963_122180"
|
id="block-yui_3_17_2_1_1663343055963_122180"
|
||||||
>
|
>
|
||||||
<div className="sqs-block-content">
|
<div className="sqs-block-content">
|
||||||
|
{resistant.lien_declaration && (
|
||||||
<p className="" style={{ whiteSpace: "pre-wrap" }}>
|
<p className="" style={{ whiteSpace: "pre-wrap" }}>
|
||||||
<a href={resistant.lien_declaration} target="_blank">
|
<a href={resistant.lien_declaration} target="_blank">
|
||||||
Notre déclaration de désobéissance civile
|
Notre déclaration de désobéissance civile
|
||||||
</a>
|
</a>
|
||||||
, en {resistant.date_declaration}
|
, en {resistant.date_declaration}
|
||||||
</p>
|
</p>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue