sdy

add props

......@@ -11,11 +11,11 @@ const Wrapper = styled.div`
align-items: center;
`;
export default () => {
export default ({ roomArray }) => {
return (
<Wrapper>
<Header text={"KhuChat"}></Header>
<RoomList></RoomList>
<RoomList roomArray={roomArray}></RoomList>
</Wrapper>
);
};
......