Fix remaining TypeScript syntax in inline script
Arrow function type annotations (c: any) also crash in browsers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6c0b602857
commit
04d65eef85
1 changed files with 2 additions and 2 deletions
|
|
@ -281,8 +281,8 @@ import Base from "../../layouts/Base.astro";
|
||||||
const entityName = document.getElementById("entity-name")?.textContent || "";
|
const entityName = document.getElementById("entity-name")?.textContent || "";
|
||||||
const frn = document.getElementById("entity-frn")?.textContent || "";
|
const frn = document.getElementById("entity-frn")?.textContent || "";
|
||||||
const redChecks = (lastData?.checks || [])
|
const redChecks = (lastData?.checks || [])
|
||||||
.filter((c: any) => c.status === "red")
|
.filter((c) => c.status === "red")
|
||||||
.map((c: any) => `• ${c.label}: ${c.detail}`)
|
.map((c) => `• ${c.label}: ${c.detail}`)
|
||||||
.join("\n");
|
.join("\n");
|
||||||
|
|
||||||
const message = [
|
const message = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue