From 047e9bcde1813956e368a44c02aaabd4f5b816ca Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Mon, 20 Apr 2020 18:05:26 +0700 Subject: [PATCH] changed default preset --- src/containers/dialogs/PhotoSwipe/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/dialogs/PhotoSwipe/index.tsx b/src/containers/dialogs/PhotoSwipe/index.tsx index 1a27d896..29ce49a9 100644 --- a/src/containers/dialogs/PhotoSwipe/index.tsx +++ b/src/containers/dialogs/PhotoSwipe/index.tsx @@ -29,7 +29,7 @@ const PhotoSwipeUnconnected: FC = ({ 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] );