refactor: enforce strict linting rules, replace forEach with for...of loops, and remove console logging throughout the frontend.

This commit is contained in:
ramvignesh-b
2026-04-13 14:30:17 +05:30
parent 2776aac69a
commit 12763ab7ab
12 changed files with 38 additions and 37 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ export const replacePathParams = (
params: Record<string, string>,
): string => {
let result = url;
Object.entries(params).forEach(([key, value]) => {
for (const [key, value] of Object.entries(params)) {
result = result.replace(`:${key}`, value);
});
}
return result;
};