Skip to content

Commit

Permalink
fixed warning about keys and style
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbt committed Oct 28, 2015
1 parent 6e93319 commit 8aaa223
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/app/components/pages/components/grid-list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class GridListPage extends React.Component {
},
];

let gradientBg = 'linear-gradient(to bottom, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0.3) 70%,rgba(0,0,0,0) 100%);';
let gradientBg = 'linear-gradient(to bottom, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0.3) 70%,rgba(0,0,0,0) 100%)';

return (
<ComponentDoc
Expand All @@ -182,6 +182,7 @@ class GridListPage extends React.Component {
>
{
tilesData.map(tile => <GridTile
key={tile.img}
title={tile.title}
subtitle={<span>by <b>{tile.author}</b></span>}
actionIcon={<IconButton><StarBorder color="white"/></IconButton>}
Expand All @@ -197,6 +198,7 @@ class GridListPage extends React.Component {
>
{
tilesData.map(tile => <GridTile
key={tile.img}
title={tile.title}
actionIcon={<IconButton><StarBorder color="white"/></IconButton>}
actionPosition="left"
Expand Down

0 comments on commit 8aaa223

Please sign in to comment.