sdy

remove unused prop "data"

......@@ -142,14 +142,7 @@ const StyledLink = styled(Link)`
}
`;
export default ({
data,
location,
message,
onSubmit,
outcomingMsg,
incomingMsg,
}) => {
export default ({ location, message, onSubmit, outcomingMsg, incomingMsg }) => {
const { pathname } = location;
const roomName = pathname.slice(1, pathname.length);
return (
......