sdy

add props

...@@ -11,11 +11,11 @@ const Wrapper = styled.div` ...@@ -11,11 +11,11 @@ const Wrapper = styled.div`
11 align-items: center; 11 align-items: center;
12 `; 12 `;
13 13
14 -export default () => { 14 +export default ({ roomArray }) => {
15 return ( 15 return (
16 <Wrapper> 16 <Wrapper>
17 <Header text={"KhuChat"}></Header> 17 <Header text={"KhuChat"}></Header>
18 - <RoomList></RoomList> 18 + <RoomList roomArray={roomArray}></RoomList>
19 </Wrapper> 19 </Wrapper>
20 ); 20 );
21 }; 21 };
......