mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix pagination effect
This commit is contained in:
parent
88f9c47b8c
commit
44433cdb12
@ -22,7 +22,7 @@ export default function Pagination({
|
|||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!totalPages || totalPages < 2) return null
|
if (!totalPages || totalPages < 2) return
|
||||||
|
|
||||||
const mq = window.matchMedia('(min-width: 600px)')
|
const mq = window.matchMedia('(min-width: 600px)')
|
||||||
viewportChange(mq)
|
viewportChange(mq)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user