Skip to content

Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring

fix: remove duplicate primaryIp export in maskIp.ts after rebase

Pouzorb5eb8d1b74dd
diff --git a/frontend/src/utils/maskIp.ts b/frontend/src/utils/maskIp.ts
index dec2969..8dfa9f8 100644
--- a/frontend/src/utils/maskIp.ts
+++ b/frontend/src/utils/maskIp.ts
@@ -43,8 +43,3 @@ export function splitIps(ip: string): string[] {
export function primaryIp(ip: string): string {
return splitIps(ip)[0] ?? ''
}
-
-export function primaryIp(ip: string): string {
- if (!ip?.trim()) return ''
- return ip.split(',')[0].trim()
-}