1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-29 23:12:39 +01:00

Fixed: Loading series images after placeholder in Safari

This commit is contained in:
Mark McDowall 2024-09-23 17:44:30 -07:00 committed by Mark McDowall
parent 4d7a3d0909
commit dc1524c64f

View File

@ -43,7 +43,7 @@ function SeriesImage({
}: SeriesImageProps) {
const [url, setUrl] = useState<string | null>(null);
const [hasError, setHasError] = useState(false);
const [isLoaded, setIsLoaded] = useState(false);
const [isLoaded, setIsLoaded] = useState(true);
const image = useRef<Image | null>(null);
const handleLoad = useCallback(() => {