import React from "react" import PropTypes from "prop-types" import { Map } from "immutable" import SubtitlesButton from "../buttons/subtitles" import ImdbButton from "../buttons/imdb" import TorrentsButton from "./torrents" import ActionsButton from "./actions" import ButtonToolbar from "react-bootstrap/ButtonToolbar" const MovieButtons = (props) => ( {props.movie.get("polochon_url") !== "" && } ); MovieButtons.propTypes = { movie: PropTypes.instanceOf(Map), refreshSubtitles: PropTypes.func.isRequired, addTorrent: PropTypes.func.isRequired, getDetails: PropTypes.func, deleteMovie: PropTypes.func.isRequired, addToWishlist: PropTypes.func.isRequired, deleteFromWishlist: PropTypes.func.isRequired, getMovieDetails: PropTypes.func.isRequired, lastFetchUrl: PropTypes.string, } export default MovieButtons;