mirror of
https://github.com/tormachris/cf-workers-status-page.git
synced 2025-07-05 19:42:47 +02:00
chore: patch flareact to support script tags
- to be removed once https://github.com/flareact/flareact/pull/57 merged
This commit is contained in:
@ -108,15 +108,6 @@ export default function Index({ config, kvMonitors, kvMonitorsLastUpdate }) {
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
{`
|
||||
function setTheme(theme) {
|
||||
document.documentElement.classList.remove("dark", "light")
|
||||
document.documentElement.classList.add(theme)
|
||||
localStorage.theme = theme
|
||||
}
|
||||
`}
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
Reference in New Issue
Block a user