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

pull/1072/head
TheCatLady 3 years ago committed by GitHub
parent 420038d5ff
commit 0c4637f779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>
) : (

@ -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>
) : (

Loading…
Cancel
Save