1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-03 05:35:29 +00: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(() => {