Fix warning.

This commit is contained in:
FlorianSpeicher
2025-06-14 21:16:56 +02:00
parent f783be4d63
commit ce54a7eec7

View File

@@ -44,7 +44,7 @@ export default function ItemCard({ item }: { item: Item }) {
return ( return (
<Paper elevation={4}> <Paper elevation={4}>
<Card sx={{height: "100%", width: "100%" }}> <Card sx={{height: "100%", width: "100%" }}>
<CardActionArea onClick={handleClick} sx={{ height: "100%" }}> <CardActionArea onClick={handleClick} sx={{ height: "100%" }} component="div">
<CardMedia <CardMedia
component="img" component="img"
height="140" height="140"