sdy

add setAction state

...@@ -13,5 +13,11 @@ export default withRouter(() => { ...@@ -13,5 +13,11 @@ export default withRouter(() => {
13 const { getRooms } = data; 13 const { getRooms } = data;
14 roomArray = getRooms; 14 roomArray = getRooms;
15 } 15 }
16 - return <RoomPresenter roomArray={roomArray} action={action} />; 16 + return (
17 + <RoomPresenter
18 + roomArray={roomArray}
19 + action={action}
20 + setAction={setAction}
21 + />
22 + );
17 }); 23 });
......