Prettified Code!

This commit is contained in:
gabek
2021-07-26 05:41:48 +00:00
committed by GitHub Action
parent f23a1202cc
commit 8c5f7be05c

View File

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