chore: name
This commit is contained in:
parent
2fb84959f4
commit
605150e984
|
@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ReactMarkdown from 'react-markdown';
|
import ReactMarkdown from 'react-markdown';
|
||||||
|
|
||||||
export default function PlayersChatMessageSpace(props) {
|
export default function ChatMessage(props) {
|
||||||
const {message: {owner, message, timestamp}, isShort} = props;
|
const {message: {owner, message, timestamp}, isShort} = props;
|
||||||
const ownerMap = {
|
const ownerMap = {
|
||||||
1: 'cha0s',
|
1: 'cha0s',
|
||||||
|
@ -46,11 +46,11 @@ export default function PlayersChatMessageSpace(props) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
PlayersChatMessageSpace.propTypes = {
|
ChatMessage.propTypes = {
|
||||||
isShort: PropTypes.bool.isRequired,
|
isShort: PropTypes.bool.isRequired,
|
||||||
message: PropTypes.shape({
|
message: PropTypes.shape({
|
||||||
message: PropTypes.string,
|
message: PropTypes.string,
|
||||||
timestamp: PropTypes.number,
|
timestamp: PropTypes.number,
|
||||||
owner: PropTypes.string,
|
owner: PropTypes.number,
|
||||||
}).isRequired,
|
}).isRequired,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user