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:
parent
b419993e98
commit
72bae14a01
13
index.html
13
index.html
@ -36,19 +36,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
|
|||||||
@ -31,14 +31,14 @@
|
|||||||
"html-react-parser": "^5.2.17",
|
"html-react-parser": "^5.2.17",
|
||||||
"i18next": "^25.8.11",
|
"i18next": "^25.8.11",
|
||||||
"i18next-http-backend": "^3.0.2",
|
"i18next-http-backend": "^3.0.2",
|
||||||
"joi": "^17.13.3",
|
"joi": "^18.0.2",
|
||||||
"js-cookie": "^3.0.5",
|
"js-cookie": "^3.0.5",
|
||||||
"jwt-decode": "^4.0.0",
|
"jwt-decode": "^4.0.0",
|
||||||
"lodash.debounce": "^4.0.8",
|
"lodash.debounce": "^4.0.8",
|
||||||
"nodemon": "^3.1.11",
|
"nodemon": "^3.1.11",
|
||||||
"react": "^19.2.4",
|
"react": "^18.3.1",
|
||||||
"react-bootstrap": "^2.10.8",
|
"react-bootstrap": "^2.10.8",
|
||||||
"react-dom": "^19.2.4",
|
"react-dom": "^18.3.1",
|
||||||
"react-helmet-async": "^2.0.5",
|
"react-helmet-async": "^2.0.5",
|
||||||
"react-i18next": "^16.5.4",
|
"react-i18next": "^16.5.4",
|
||||||
"react-router-dom": "^7.13.0",
|
"react-router-dom": "^7.13.0",
|
||||||
@ -83,7 +83,6 @@
|
|||||||
"@types/react-toggle": "^4.0.5",
|
"@types/react-toggle": "^4.0.5",
|
||||||
"@vitejs/plugin-react": "^5.1.4",
|
"@vitejs/plugin-react": "^5.1.4",
|
||||||
"i18n-unused": "^0.19.0",
|
"i18n-unused": "^0.19.0",
|
||||||
"i18next-parser": "^9.3.0",
|
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
"vite": "^7.3.1"
|
"vite": "^7.3.1"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user