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

Function getSerpIssues

packages/devtools/src/tabs/seo-tab/serp-preview.tsx:125–131  ·  view source on GitHub ↗
(
  data: SerpData,
  overflow: SerpOverflow,
  checks: Array<SerpCheck>,
)

Source from the content-addressed store, hash-verified

123}
124
125function getSerpIssues(
126 data: SerpData,
127 overflow: SerpOverflow,
128 checks: Array<SerpCheck>,
129): Array<string> {
130 return checks.filter((c) => c.hasIssue(data, overflow)).map((c) => c.message)
131}
132
133function SerpSnippetPreview(props: {
134 data: SerpData

Callers 1

SerpPreviewSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected