Sorted out some npm issues.

downgraded to react 18, not quite ready for react 19 yet.
Also removed some unneeded modules
This commit is contained in:
Colin Dawson 2026-02-19 22:46:33 +00:00
parent b419993e98
commit 72bae14a01
2 changed files with 3 additions and 17 deletions

View File

@ -36,19 +36,6 @@
}
}
</style>
<script>
(function () {
try {
const stored = localStorage.getItem("theme");
const prefersDark = window.matchMedia(
"(prefers-color-scheme: dark)",
).matches;
const theme = stored || (prefersDark ? "dark" : "light");
document.documentElement.setAttribute("data-bs-theme", theme);
} catch {}
})();
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>

View File

@ -31,14 +31,14 @@
"html-react-parser": "^5.2.17",
"i18next": "^25.8.11",
"i18next-http-backend": "^3.0.2",
"joi": "^17.13.3",
"joi": "^18.0.2",
"js-cookie": "^3.0.5",
"jwt-decode": "^4.0.0",
"lodash.debounce": "^4.0.8",
"nodemon": "^3.1.11",
"react": "^19.2.4",
"react": "^18.3.1",
"react-bootstrap": "^2.10.8",
"react-dom": "^19.2.4",
"react-dom": "^18.3.1",
"react-helmet-async": "^2.0.5",
"react-i18next": "^16.5.4",
"react-router-dom": "^7.13.0",
@ -83,7 +83,6 @@
"@types/react-toggle": "^4.0.5",
"@vitejs/plugin-react": "^5.1.4",
"i18n-unused": "^0.19.0",
"i18next-parser": "^9.3.0",
"typescript": "^5.9.3",
"vite": "^7.3.1"
}