Improve code quality

Fix lint warnings
This commit is contained in:
Przemek Więch
2026-05-10 21:56:51 +02:00
parent ea82bc4c98
commit 8202c9cd05
29 changed files with 315 additions and 221 deletions

View File

@@ -28,8 +28,9 @@ const language = navigator.language && navigator.language.split(/[-_]/)[0];
const browser = detect();
const container = document.getElementById('root');
const root = createRoot(container!);
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const container = document.getElementById('root')!;
const root = createRoot(container);
if (browser && browser.name === 'ie') {
root.render(