mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
changed default preset
This commit is contained in:
parent
19aeb8a334
commit
047e9bcde1
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ const PhotoSwipeUnconnected: FC<Props> = ({ photoswipe, modalSetShown }) => {
|
||||||
const items = useMemo(
|
const items = useMemo(
|
||||||
() =>
|
() =>
|
||||||
photoswipe.images.map(image => ({
|
photoswipe.images.map(image => ({
|
||||||
src: getURL(image, window.innerWidth < 768 ? PRESETS[900] : ''),
|
src: getURL(image, window.innerWidth < 768 ? PRESETS[900] : PRESETS[1600]),
|
||||||
})),
|
})),
|
||||||
[photoswipe.images]
|
[photoswipe.images]
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue