1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-10-02 14:17:19 +02:00

Fixed: Loading movie images after placeholder in Safari

Closes #10474
This commit is contained in:
Mark McDowall 2024-09-23 17:44:30 -07:00 committed by Bogdan
parent dc599b6531
commit 7b43c2e345

View File

@ -43,7 +43,7 @@ function MovieImage({
}: MovieImageProps) {
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(() => {