import React, { PropTypes } from 'react';
import Poll from '../containers/poll.js';

const PollList = ({polls}) => (
  <ul>
    {polls.map((poll) => {
      return (
        <Poll
          key={poll._id}
          poll={poll}
        />
      );
    })}
  </ul>
);
PollList.propTypes = {
  polls: PropTypes.array
};

export default PollList;

import React, { PropTypes } from 'react';
import Poll from '../containers/poll.js';

const PollList = ({polls}) => (
  <ul style={{paddingLeft: 0}}>
    {polls.map((poll) => {
      return (
        <Poll
          key={poll._id}
          poll={poll}
        />
      );
    })}
  </ul>
);
PollList.propTypes = {
  polls: PropTypes.array
};

export default PollList;

Fix styling issue with PollList
Fix styling issue with PollList
