Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const document = docs.organizations[
this.props.params.organizationKey
].documents.filter(
doc => doc.slug === this.props.params.documentationKey
)[0];
return (
<div>
<div>
<h1>
{document.name}
</h1>
</div>
</div>
);
}
}