Adapt components with new css & NextJs rules
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import PropTypes from 'prop-types'
|
||||
import {useRouter} from 'next/navigation'
|
||||
import Pagination from '@mui/material/Pagination'
|
||||
import Grid from '@mui/material/Grid2'
|
||||
import Grid from '@mui/material/Grid'
|
||||
|
||||
export default function Pajinasyon({pajTotal, paj}) {
|
||||
const router = useRouter()
|
||||
@@ -14,7 +14,7 @@ export default function Pajinasyon({pajTotal, paj}) {
|
||||
}
|
||||
|
||||
return (
|
||||
<Grid container sx={{marginBlock: 3}} justifyContent='center'>
|
||||
<Grid container sx={{marginTop: 10, marginBottom: 3, justifyContent: 'center'}}>
|
||||
<Pagination size='small' page={paj} count={pajTotal} color='primary' onChange={handleChange} />
|
||||
</Grid>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user