import React from "react" import PropTypes from "prop-types" import { Map } from "immutable" import { Season } from "./season" export const SeasonsList = (props) => (
{props.data.get("seasons").entrySeq().map(function([season, data]) { if (season === 0) { return null } return ( ); })}
); SeasonsList.propTypes = { data: PropTypes.instanceOf(Map), addToWishlist: PropTypes.func, addTorrent: PropTypes.func, refreshSubtitles: PropTypes.func, getEpisodeDetails: PropTypes.func, };