Various fixes
This commit is contained in:
parent
0a07ba295c
commit
670a29d0e2
|
@ -18,7 +18,7 @@ export function Home(props) {
|
||||||
const ItemCards = movies.map( ( movie, itemkey ) => {
|
const ItemCards = movies.map( ( movie, itemkey ) => {
|
||||||
const itemLink = `/detail/${movie.id}`
|
const itemLink = `/detail/${movie.id}`
|
||||||
return(
|
return(
|
||||||
<Col md={4} className="mb-4">
|
<Col md={4} className="mb-4" key={itemkey}>
|
||||||
<Card key={itemkey} className="position-relative">
|
<Card key={itemkey} className="position-relative">
|
||||||
<a href={itemLink} className="position-absolute" style={{top:0, left:0, right:0, bottom:0}}>
|
<a href={itemLink} className="position-absolute" style={{top:0, left:0, right:0, bottom:0}}>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue