sdy

remove unused prop "data"

...@@ -142,14 +142,7 @@ const StyledLink = styled(Link)` ...@@ -142,14 +142,7 @@ const StyledLink = styled(Link)`
142 } 142 }
143 `; 143 `;
144 144
145 -export default ({ 145 +export default ({ location, message, onSubmit, outcomingMsg, incomingMsg }) => {
146 - data,
147 - location,
148 - message,
149 - onSubmit,
150 - outcomingMsg,
151 - incomingMsg,
152 -}) => {
153 const { pathname } = location; 146 const { pathname } = location;
154 const roomName = pathname.slice(1, pathname.length); 147 const roomName = pathname.slice(1, pathname.length);
155 return ( 148 return (
......