chore: standardize security and quality foundations
Magent CI/CD / verify (push) Failing after 9m34s
Magent CI/CD / deploy-beta (push) Skipped

This commit is contained in:
2026-09-17 20:03:47 +12:00
parent 5639dbcb83
commit f852e7c941
127 changed files with 17928 additions and 10741 deletions
+10 -10
View File
@@ -1,18 +1,18 @@
'use client'
"use client";
import { useEffect } from 'react'
import { useEffect } from "react";
export default function BrandingFavicon() {
useEffect(() => {
const href = '/api/branding/favicon.ico'
let link = document.querySelector("link[rel='icon']") as HTMLLinkElement | null
const href = "/api/branding/favicon.ico";
let link = document.querySelector("link[rel='icon']") as HTMLLinkElement | null;
if (!link) {
link = document.createElement('link')
link.rel = 'icon'
document.head.appendChild(link)
link = document.createElement("link");
link.rel = "icon";
document.head.appendChild(link);
}
link.href = href
}, [])
link.href = href;
}, []);
return null
return null;
}