From 20e5f105db0976b637f5dcad538ac40aa4c2d110 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Mon, 17 Aug 2020 19:15:24 +0300 Subject: fix: add correct image orientation --- src/components/Image/Image.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/Image/Image.tsx b/src/components/Image/Image.tsx index 1898716..716736f 100644 --- a/src/components/Image/Image.tsx +++ b/src/components/Image/Image.tsx @@ -15,6 +15,9 @@ interface PropTypes { type Status = 'success' | 'loading' | 'error'; const useStyles = makeStyles(theme => ({ + image: { + imageOrientation: 'from-image' + }, container: { width: '100%', height: '100%', @@ -71,7 +74,7 @@ const Image: React.FC = React.memo(({ {alt} Date: Mon, 17 Aug 2020 19:16:15 +0300 Subject: fix: add pollId to key in PollsList --- src/components/PollsList/RenderItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/PollsList/RenderItem.tsx b/src/components/PollsList/RenderItem.tsx index 5123bca..beed259 100644 --- a/src/components/PollsList/RenderItem.tsx +++ b/src/components/PollsList/RenderItem.tsx @@ -35,7 +35,7 @@ const RenderItem: React.FC = React.memo(({ }, [mutate, index, polls]); return ( -
+
); -- cgit v1.2.3