sdy

add setAction state

......@@ -13,5 +13,11 @@ export default withRouter(() => {
const { getRooms } = data;
roomArray = getRooms;
}
return <RoomPresenter roomArray={roomArray} action={action} />;
return (
<RoomPresenter
roomArray={roomArray}
action={action}
setAction={setAction}
/>
);
});
......