Merge pull request #1118 from Stremio/fix/image-linter-errors
Some checks failed
Build / build (push) Has been cancelled

Image: update return renderFallback type
This commit is contained in:
Timothy Z. 2026-01-26 16:09:44 +02:00 committed by GitHub
commit 0df0cdb44b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ type Props = {
src: string,
alt: string,
fallbackSrc: string,
renderFallback: () => void,
renderFallback: () => React.ReactNode,
onError: (event: React.SyntheticEvent<HTMLImageElement>) => void,
};