mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Update prettier to v2.0.1 and enable for SCSS (#420)
This commit is contained in:
@@ -29,14 +29,14 @@ export const GalleryViewer: FunctionComponent<IProps> = ({ gallery }) => {
|
||||
setCurrentImage(currentImage + 1);
|
||||
}
|
||||
|
||||
const photos = gallery.files.map(file => ({
|
||||
const photos = gallery.files.map((file) => ({
|
||||
src: file.path ?? "",
|
||||
caption: file.name ?? ""
|
||||
caption: file.name ?? "",
|
||||
}));
|
||||
const thumbs = gallery.files.map(file => ({
|
||||
const thumbs = gallery.files.map((file) => ({
|
||||
src: `${file.path}?thumb=true` || "",
|
||||
width: 1,
|
||||
height: 1
|
||||
height: 1,
|
||||
}));
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user