diff --git a/src/common/playleaderboard/TopPlayCreators.jsx b/src/common/playleaderboard/TopPlayCreators.jsx index 719ed2c12..d22b705be 100644 --- a/src/common/playleaderboard/TopPlayCreators.jsx +++ b/src/common/playleaderboard/TopPlayCreators.jsx @@ -14,7 +14,7 @@ const TopPlayCreators = ({ topPlayCreators }) => { const secondPlace = topPlayCreators.length > 1 ? topPlayCreators[1] : null; const thirdPlace = topPlayCreators.length > 2 ? topPlayCreators[2] : null; - const renderRankIcon = (rank) => { + const renderRankIcon = () => { return ; }; diff --git a/src/common/playlists/PlayCard.jsx b/src/common/playlists/PlayCard.jsx index 3a4648616..31cfc2092 100644 --- a/src/common/playlists/PlayCard.jsx +++ b/src/common/playlists/PlayCard.jsx @@ -9,7 +9,7 @@ import userImage from 'images/user.png'; const formatDate = (dateString) => dateString || ''; function PlayCard({ play, cover, likeObject }) { - const [isExpanded, setIsExpanded] = useState(false); + const [isExpanded] = useState(false); if (!play || !play.github || !play.slug) return null; const avatarSrc =