From 1500147a58bf92848c3245931ef42bd7666d9101 Mon Sep 17 00:00:00 2001 From: Vladislav Mihov Date: Tue, 30 Jan 2024 20:12:07 +0200 Subject: [PATCH] fix: production build error. --- app/client/lib/textUtils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/client/lib/textUtils.ts b/app/client/lib/textUtils.ts index 9c0f972e..a63054bd 100644 --- a/app/client/lib/textUtils.ts +++ b/app/client/lib/textUtils.ts @@ -72,6 +72,7 @@ export function findLinks(text: string): Array<{value: string, link: string, is }); lastIndex = offset + match.length; + return match; }); // Add any remaining text after the last URL