Write on the margins of the internet. Powered by the AT Protocol. margin.at
extension web atproto comments

Potential fix for pull request finding 'Useless conditional'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

authored by

Scan
Copilot Autofix powered by AI
and committed by
GitHub
eaaa8aac 3443d8de

+1 -1
+1 -1
web/src/components/modals/ShareMenu.tsx
··· 52 if (customUrl) return customUrl; 53 if (!uri) return ""; 54 55 - const uriParts = (uri || "").split("/"); 56 const rkey = uriParts[uriParts.length - 1]; 57 const did = uriParts[2]; 58
··· 52 if (customUrl) return customUrl; 53 if (!uri) return ""; 54 55 + const uriParts = uri.split("/"); 56 const rkey = uriParts[uriParts.length - 1]; 57 const did = uriParts[2]; 58