import React from "react"; import Modal from "modal/modal"; import Link from "component/link"; const RewardLink = props => { const { reward, button, claimReward, clearError, errorMessage, isPending, } = props; return (