chore: remove URL_TRUNCATE_LENGTH from component
This commit is contained in:
1 parent
75309fc53c
commit
6b3773ed76
2 files changed
+2
-5
No files matched your search
@@ -6,7 +6,7 @@ export const safelyParseFloat = (value) => {
|
||||
return parsedValue;
|
||||
};
|
||||
|
||||
export const formatMonitorUrl = (url, maxLength = 50) => {
|
||||
export const formatMonitorUrl = (url, maxLength = 55) => {
|
||||
if (!url) return "";
|
||||
const strippedUrl = url.replace(/^https?:\/\//, "");
|
||||
return strippedUrl.length > maxLength
|
||||
|
||||
Reference in new issue
Block a user