mirror of
https://github.com/Lissy93/awesome-privacy.git
synced 2026-03-11 08:55:33 +00:00
Check documents array defined
This commit is contained in:
parent
c29fc830a2
commit
a201ba42db
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ const removeDuplicates = () => {
|
|||
{priv.documents && priv.documents.length > 0 && (
|
||||
<h4>Documents</h4>
|
||||
<ul>
|
||||
{priv.documents.map((document) => (
|
||||
{(priv.documents || []).map((document) => (
|
||||
<li class="list-item">
|
||||
<a href={document.url} target="_blank">{document.name}</a>
|
||||
<div class="date-block">
|
||||
|
|
|
|||
Loading…
Reference in a new issue