From 28082808a873974d8a07721c9223b38233189b49 Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 18 Mar 2024 21:11:00 +0000 Subject: [PATCH] Remove unused code --- project/src/utils/Watermark.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/project/src/utils/Watermark.ts b/project/src/utils/Watermark.ts index 410ba662..91edd475 100644 --- a/project/src/utils/Watermark.ts +++ b/project/src/utils/Watermark.ts @@ -155,8 +155,6 @@ export class Watermark // Calculate size, add 10% for spacing to the right const longestLength = this.text.reduce((a, b) => { - const a2 = String(a).replace(/[\u0391-\uFFE5]/g, "ab"); - const b2 = String(b).replace(/[\u0391-\uFFE5]/g, "ab"); return a.length > b.length ? a : b; }).length * 1.1;