From ad5347a8b4e280f90883e7eb6ec4b8087863bc0b Mon Sep 17 00:00:00 2001 From: PEDZEO Date: Wed, 21 Jan 2026 05:17:35 +0300 Subject: [PATCH] Fix lint error: use const instead of let for cleaned variable --- src/components/admin/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/admin/utils.ts b/src/components/admin/utils.ts index 1d99712..49668f1 100644 --- a/src/components/admin/utils.ts +++ b/src/components/admin/utils.ts @@ -17,7 +17,7 @@ export function formatSettingKey(name: string): string { // Strip HTML tags and template descriptions from setting descriptions export function stripHtml(html: string): string { if (!html) return '' - let cleaned = html + const cleaned = html .replace(/<[^>]*>/g, '') .replace(/ /g, ' ') .replace(/&/g, '&')