working connection between frontend and backend

Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
haraldnilsen 2023-10-02 12:20:27 +02:00
parent f591abe341
commit 1c19ca4ee2
4 changed files with 17 additions and 16 deletions

View file

@ -16,10 +16,10 @@ const MovieTableRow: React.FC<MovieTableRowProps> = ({ movie, onClick }) => {
return (
<q.tr onClick={onClick} className="card rounded-md hover:cursor-pointer">
<q.td className="p-2">
<q.img src={movie.Poster} alt={movie.Title} width="100" />
<q.img src={movie.poster} alt={movie.title} width="100" />
</q.td>
<q.td>{movie.Title}</q.td>
<q.td>{movie.Year}</q.td>
<q.td>{movie.title}</q.td>
<q.td>{movie.year}</q.td>
</q.tr>
)
}