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 { reflection } = this.props
const { id } = reflection
if (!id) {
return null
}
const links = [] as React.ReactNode[]
links.push(
<svg style="{{" height="{15}" width="{15}" viewBox="{homeIcon.viewBox}">
</svg>
<span> </span>
)
id.forEach(id => {
if (id.kind === ReflectionKind.Namespace) {
// FIXME ignore namespaces for now
return
}
links.push(