refactor: fix all lint errors and improve code quality

This commit is contained in:
Rasmus Q
2026-03-15 21:10:58 +00:00
parent f739288866
commit 8d9acf3d43
32 changed files with 70 additions and 66 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export const languageStore = new LanguageStore();
// Helper function to get nested translation value
export function t(path: string): string {
const keys = path.split('.');
let value: any = languageStore.t;
let value: unknown = languageStore.t;
for (const key of keys) {
if (value && typeof value === 'object' && key in value) {