From b4c7de2ab00fb43a70c984138b79577a65c95191 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Fri, 26 Apr 2024 15:17:44 +0100 Subject: fix(inference): Attempt to reuse existing identical tags --- apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/web') diff --git a/apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx b/apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx index 619158fd..61132a60 100644 --- a/apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx +++ b/apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx @@ -34,7 +34,7 @@ interface Suggestion { } function normalizeTag(tag: string) { - return tag.toLocaleLowerCase().replace(/[ -]/g, ""); + return tag.toLocaleLowerCase().replace(/[ -_]/g, ""); } const useSuggestions = () => { -- cgit v1.2.3-70-g09d2