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

changed default preset

This commit is contained in:
Fedor Katurov 2020-04-20 18:05:26 +07:00
parent 19aeb8a334
commit 047e9bcde1

View file

@ -29,7 +29,7 @@ const PhotoSwipeUnconnected: FC<Props> = ({ photoswipe, modalSetShown }) => {
const items = useMemo(
() =>
photoswipe.images.map(image => ({
src: getURL(image, window.innerWidth < 768 ? PRESETS[900] : ''),
src: getURL(image, window.innerWidth < 768 ? PRESETS[900] : PRESETS[1600]),
})),
[photoswipe.images]
);