chat: invite search style fix

This commit is contained in:
Matilde Park 2020-02-26 18:04:49 -05:00
parent 6536def638
commit ab926af427

View File

@ -93,7 +93,6 @@ export class InviteSearch extends Component {
return e.toLowerCase().includes(searchTerm); return e.toLowerCase().includes(searchTerm);
}); });
if (match.length > 0) { if (match.length > 0) {
console.log("found")
if (!(contact in shipMatches)) { if (!(contact in shipMatches)) {
shipMatches.push(contact); shipMatches.push(contact);
} }
@ -249,7 +248,7 @@ export class InviteSearch extends Component {
classes="mix-blend-diff v-mid" classes="mix-blend-diff v-mid"
/> />
<span className="v-mid ml2 mw5 truncate dib">{"~" + ship}</span> <span className="v-mid ml2 mw5 truncate dib">{"~" + ship}</span>
<span class="absolute right-1 di truncate mw4 inter f9 pt1">{nicknames}</span> <span className="absolute right-1 di truncate mw4 inter f9 pt1">{nicknames}</span>
</li> </li>
); );
}); });