mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-21 15:38:59 +03:00
chat-js: slightly cleaner sig string
This commit is contained in:
parent
8b8472f231
commit
e10b6784ae
File diff suppressed because one or more lines are too long
@ -167,7 +167,7 @@ export class Message extends Component {
|
||||
let color = "#000000";
|
||||
if (contact) {
|
||||
name = (contact.nickname.length > 0)
|
||||
? contact.nickname : "~" + props.msg.author;
|
||||
? contact.nickname : `~${props.msg.author}`;
|
||||
color = `#${uxToHex(contact.color)}`;
|
||||
}
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user