A full-featured CRM built with React, shadcn/ui, and Supabase.
Fix liner warning
fzaninotto2123cde8ae69
diff --git a/src/companies/CompanyInputs.tsx b/src/companies/CompanyInputs.tsxindex 94ad8512..2fa69dda 100644--- a/src/companies/CompanyInputs.tsx+++ b/src/companies/CompanyInputs.tsx@@ -23,7 +23,7 @@ import ImageEditorField from '../misc/ImageEditorField';const isUrl = (url: string) => {if (!url) return;const UrlRegex = new RegExp(- /^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/i+ /^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([-.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/i);if (!UrlRegex.test(url)) {return 'Must be a valid URL';