Replace 'kombyen' by 'kantite'
This commit is contained in:
@@ -27,7 +27,7 @@ const useStyles = makeStyles({
|
||||
}
|
||||
})
|
||||
|
||||
export default function KatKayLa({tit, kombyen, route}) {
|
||||
export default function KatKayLa({tit, kantite, route}) {
|
||||
const classes = useStyles()
|
||||
const router = useRouter()
|
||||
|
||||
@@ -40,7 +40,7 @@ export default function KatKayLa({tit, kombyen, route}) {
|
||||
{tit}
|
||||
</Typography>
|
||||
<Typography gutterBottom style={{fontWeight: 'bold'}} align='center' variant='h4' component='h2'>
|
||||
{kombyen}
|
||||
{kantite}
|
||||
</Typography>
|
||||
</CardContent>
|
||||
</CardActionArea>
|
||||
@@ -51,6 +51,6 @@ export default function KatKayLa({tit, kombyen, route}) {
|
||||
|
||||
KatKayLa.propTypes = {
|
||||
tit: PropTypes.string.isRequired,
|
||||
kombyen: PropTypes.number.isRequired,
|
||||
kantite: PropTypes.number.isRequired,
|
||||
route: PropTypes.string.isRequired
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user