1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed flow search for mobile

This commit is contained in:
Fedor Katurov 2021-06-25 14:15:01 +07:00
parent 22fd3a3118
commit 45949d49a8
8 changed files with 54 additions and 11 deletions

View file

@ -24,7 +24,7 @@ const ImagePreloader: FC<IProps> = ({ file, onLoad, onClick, className }) => {
const [hasError, setHasError] = useState(false);
const onImageLoad = useCallback(() => {
setLoaded(true);
setLoaded(false);
setHasError(false);
if (onLoad) {