aboutsummaryrefslogtreecommitdiff
path: root/src/containers/Home/Home.tsx
diff options
context:
space:
mode:
authorilyayudovin <46264063+ilyayudovin@users.noreply.github.com>2020-10-10 01:05:06 +0300
committerGitHub <noreply@github.com>2020-10-10 01:05:06 +0300
commit40ac5922118015aae943872717730d7068976b1a (patch)
tree8affbbac3fa19cd43cc0f0730dcee80733fc2bfa /src/containers/Home/Home.tsx
parentfcaddcd6ad8607d05279acdb87675de6180ac1cb (diff)
parent76e235f22f15b0590d2c6594f9c298d94ba59307 (diff)
downloadwhich-ui-40ac5922118015aae943872717730d7068976b1a.tar.gz
Merge pull request #105 from which-ecosystem/correction
Correction
Diffstat (limited to 'src/containers/Home/Home.tsx')
-rw-r--r--src/containers/Home/Home.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/containers/Home/Home.tsx b/src/containers/Home/Home.tsx
index 4fd2833..e97d640 100644
--- a/src/containers/Home/Home.tsx
+++ b/src/containers/Home/Home.tsx
@@ -71,7 +71,7 @@ const Home: React.FC = () => {
const Reviews = (
<div className={classes.reviews}>
- {feedbacks?.map((feedback: Feedback) => <ReviewCard feedback={feedback} />)}
+ {feedbacks?.map((feedback: Feedback, index) => <ReviewCard key={index} feedback={feedback} />)}
</div>
);
@@ -130,7 +130,7 @@ const Home: React.FC = () => {
<Grid item>
<Typography variant="h4"> Which one to choose? </Typography>
<Divider />
- <Typography>
+ <Typography component="span">
<p>
Have you ever found yourself stuck between two options, not being able to choose any?
This is exactly the problem we are going to solve!
@@ -156,7 +156,7 @@ const Home: React.FC = () => {
<Grid item>
<Typography variant="h4">{`What's new in ${release?.version}?`}</Typography>
<Divider />
- <Typography className={classes.patchNotes}>
+ <Typography component="span" className={classes.patchNotes}>
<p>{release?.description}</p>
</Typography>
<Button