(href: string)
| 25 | } |
| 26 | |
| 27 | const addIconLink = (href: string) => { |
| 28 | const link = document.createElement('link') |
| 29 | link.setAttribute('rel', 'icon') |
| 30 | link.setAttribute('href', href) |
| 31 | document.head.appendChild(link) |
| 32 | injectedNodes.push(link) |
| 33 | return link |
| 34 | } |
| 35 | |
| 36 | const renderSection = () => |
| 37 | render(() => ( |