cleaned up a couple of inefficiency checks

This commit is contained in:
amy
2026-11-06 22:34:53 -07:00
parent a2c2a1f750
commit 15b4db78ee
2 changed files with 13 additions and 6 deletions
+2 -1
View File
@@ -117,7 +117,8 @@ func ShowCommunity(ctxt ui.AmContext) (string, any) {
b.WriteString(*ci.Region)
}
if ci.PostalCode != nil {
b.WriteString(" " + *ci.PostalCode)
b.WriteString(" ")
b.WriteString(*ci.PostalCode)
}
ctxt.VarMap().Set("addrLast", b.String())
if ci.Country != nil && *ci.Country != "" {