This commit is contained in:
Athou
2026-01-23 08:33:52 +01:00
parent e1dc870005
commit a858380121
2 changed files with 5 additions and 3 deletions

View File

@@ -195,6 +195,8 @@ function CustomJsHandler() {
document.body.appendChild(script)
setScriptLoaded(true)
return () => script.remove()
}, [scriptLoaded, loading])
return null
@@ -207,6 +209,8 @@ function CustomCssHandler() {
link.type = "text/css"
link.href = "custom_css.css"
document.head.appendChild(link)
return () => link.remove()
}, [])
return null