placeholder thumbnails not removed on scroll stop

This commit is contained in:
Abhinav 2023-02-06 19:35:39 +05:30
parent 75dc0b6741
commit a5a5d8418d

View file

@ -257,7 +257,7 @@ export default function PreviewCard(props: IProps) {
isMounted.current = false;
};
}
}, []);
}, [props.showPlaceholder]);
const handleClick = () => {
if (selectOnClick) {