From c4a5faed819d695879bc109835a1d47942f8c511 Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Fri, 16 Oct 2020 15:58:48 +0000 Subject: [PATCH] show thumbs on fullscreen by default todo: full-res zoom --- frontend/src/Photos/Photo.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Photos/Photo.tsx b/frontend/src/Photos/Photo.tsx index 9983c17..19bb128 100644 --- a/frontend/src/Photos/Photo.tsx +++ b/frontend/src/Photos/Photo.tsx @@ -4,7 +4,7 @@ import { connect } from "react-redux"; import { Dispatch } from "redux"; import { IPhotoReqJSON } from "~../../src/entity/Photo"; import { LoadingStub } from "~LoadingStub"; -import { getPhotoImgPath } from "~redux/api/photos"; +import { getPhotoImgPath, getPhotoThumbPath } from "~redux/api/photos"; import { photoLoadStart } from "~redux/photos/actions"; import { IPhotoState } from "~redux/photos/reducer"; import { IAppState } from "~redux/reducers"; @@ -36,7 +36,7 @@ export const PhotoComponent: React.FunctionComponent = ( ) : (