From 1fbe033456e06c2ad9003f19c235bcccd39c50e5 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 24 Aug 2022 02:05:56 +0200 Subject: [PATCH] Remove console.log --- UI/Input/ValidatedTextField.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Input/ValidatedTextField.ts b/UI/Input/ValidatedTextField.ts index 7a316a4d9c..5952e55510 100644 --- a/UI/Input/ValidatedTextField.ts +++ b/UI/Input/ValidatedTextField.ts @@ -343,7 +343,7 @@ Another example is to search for species and trees: const prefixesUnrwapped: string[] = prefixes[lg] ?? prefixes const postfixesUnwrapped: string[] = postfixes[lg] ?? postfixes let clipped = searchFor; - console.log("Pref", prefixesUnrwapped," post", postfixesUnwrapped) + for (const postfix of postfixesUnwrapped) { if (searchFor.endsWith(postfix)) { clipped = searchFor.substring(0, searchFor.length - postfix.length)