π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: fixed alt
Nevo David73b536870728
diff --git a/libraries/react-shared-libraries/src/helpers/image.with.fallback.tsx b/libraries/react-shared-libraries/src/helpers/image.with.fallback.tsxindex d0b754b3c..430d9b9ac 100644--- a/libraries/react-shared-libraries/src/helpers/image.with.fallback.tsx+++ b/libraries/react-shared-libraries/src/helpers/image.with.fallback.tsx@@ -10,18 +10,19 @@ interface ImageSrc {}const ImageWithFallback: FC<ImageSrc> = (props) => {- const { src, fallbackSrc, ...rest } = props;- const [imgSrc, setImgSrc] = useState(src);+ const { src, fallbackSrc, ...rest } = props;+ const [imgSrc, setImgSrc] = useState(src);- return (- <Image- {...rest}- src={imgSrc}- onError={() => {- setImgSrc(fallbackSrc);- }}- />- );+ return (+ <Image+ alt=""+ {...rest}+ src={imgSrc}+ onError={() => {+ setImgSrc(fallbackSrc);+ }}+ />+ );};-export default ImageWithFallback;\ No newline at end of file+export default ImageWithFallback;