Various fixes

This commit is contained in:
Ray 2023-11-15 06:41:24 +00:00 committed by GitHub
parent 0a07ba295c
commit 670a29d0e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>