Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)
}
else {
return (
<>
<div>
<button> {
setDetail(false)
setclickedNew(null)
}}>
Geri dön
</button>
<p>Haber Başlığı:</p><p>{props.content.title}</p>
<p>Haber detayı:</p><p>{props.content.content}</p>
<p>Etiketler : </p><p>{props.content.tags.map((item, i) => </p><li>{item}</li>)}<p></p>
</div>
)
}
}