mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
fix lint
This commit is contained in:
@@ -57,7 +57,9 @@ const expandToIncludeEntireLink = (
|
||||
startIndex < truncated.length && lastIndex > truncated.length
|
||||
);
|
||||
|
||||
if (truncatedLink.length === 0) return truncated;
|
||||
if (truncatedLink.length === 0) {
|
||||
return truncated;
|
||||
}
|
||||
|
||||
return original.slice(0, truncatedLink[0].lastIndex);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user