Browse Source

Prettified Code!

pull/1264/head
gabek 5 years ago committed by GitHub Action
parent
commit
8c5f7be05c
  1. 6
      webroot/js/components/chat/chat-message-view.js

6
webroot/js/components/chat/chat-message-view.js

@ -48,9 +48,9 @@ export default class ChatMessageView extends Component { @@ -48,9 +48,9 @@ export default class ChatMessageView extends Component {
return null;
}
const formattedTimestamp = `Sent at ${formatTimestamp(timestamp)}`;
const userMetadata = createdAt ? `${displayName} first joined ${formatTimestamp(
createdAt
)}` : null;
const userMetadata = createdAt
? `${displayName} first joined ${formatTimestamp(createdAt)}`
: null;
const isSystemMessage = message.type === SOCKET_MESSAGE_TYPES.SYSTEM;

Loading…
Cancel
Save