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:
parent
4d7a3d0909
commit
dc1524c64f
@ -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(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user