mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-19 17:32:38 +01:00
parent
dc599b6531
commit
7b43c2e345
@ -43,7 +43,7 @@ function MovieImage({
|
|||||||
}: MovieImageProps) {
|
}: MovieImageProps) {
|
||||||
const [url, setUrl] = useState<string | null>(null);
|
const [url, setUrl] = useState<string | null>(null);
|
||||||
const [hasError, setHasError] = useState(false);
|
const [hasError, setHasError] = useState(false);
|
||||||
const [isLoaded, setIsLoaded] = useState(false);
|
const [isLoaded, setIsLoaded] = useState(true);
|
||||||
const image = useRef<Image | null>(null);
|
const image = useRef<Image | null>(null);
|
||||||
|
|
||||||
const handleLoad = useCallback(() => {
|
const handleLoad = useCallback(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user