MCPcopy Create free account
hub / github.com/TanStack/devtools / addIconLink

Function addIconLink

packages/devtools/src/tabs/seo-tab/serp-preview.test.tsx:27–34  ·  view source on GitHub ↗
(href: string)

Source from the content-addressed store, hash-verified

25}
26
27const 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
36const renderSection = () =>
37 render(() => (

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected