fix(ui): add alt prop to studio/network logos & fix blinking text cursor (#1095)

This commit is contained in:
TheCatLady
2021-03-05 03:33:20 -05:00
committed by GitHub
parent 420038d5ff
commit 0c4637f779
2 changed files with 6 additions and 6 deletions

View File

@@ -49,9 +49,9 @@ const DiscoverTvNetwork: React.FC = () => {
{firstResultData?.network.logoPath ? (
<div className="flex justify-center mb-6">
<img
src={`//image.tmdb.org/t/p/w780_filter(negate,000,666)/${firstResultData?.network.logoPath}`}
alt=""
className="text-white max-h-24 sm:max-h-32"
src={`//image.tmdb.org/t/p/w780_filter(negate,000,666)/${firstResultData.network.logoPath}`}
alt={firstResultData.network.name}
className="max-h-24 sm:max-h-32"
/>
</div>
) : (

View File

@@ -49,9 +49,9 @@ const DiscoverMovieStudio: React.FC = () => {
{firstResultData?.studio.logoPath ? (
<div className="flex justify-center mb-6">
<img
src={`//image.tmdb.org/t/p/w780_filter(negate,000,666)/${firstResultData?.studio.logoPath}`}
alt=""
className="text-white max-h-24 sm:max-h-32"
src={`//image.tmdb.org/t/p/w780_filter(negate,000,666)/${firstResultData.studio.logoPath}`}
alt={firstResultData.studio.name}
className="max-h-24 sm:max-h-32"
/>
</div>
) : (