const UserList = ({ userList }) => {
  let userElements = [];

  if (userList && userList.length > 0) {
    userElements = userList.map(user => {
      return React.createElement(User, { user });
    });
  }

  return React.createElement(
    'ul',
    null,
    userElements
  );
};

@@ -235,32 +235,19 @@
 ent(
-%0A    
 'ul',
-%0A   
  null,
-%0A   
  use
@@ -255,17 +255,14 @@
 Elements
-%0A  
 );%0A%7D;%0A

format user list code