|
|
|
@@ -1,4 +1,5 @@ |
|
|
|
import { useQuery } from '@tanstack/react-query' |
|
|
|
import { useEffect } from 'react' |
|
|
|
import { Helmet } from 'react-helmet-async' |
|
|
|
import { useLocation } from 'react-router-dom' |
|
|
|
|
|
|
|
@@ -31,6 +32,10 @@ export default (() => { |
|
|
|
const changes = data?.changes ?? [] |
|
|
|
const totalPages = data ? Math.ceil (data.count / limit) : 0 |
|
|
|
|
|
|
|
useEffect (() => { |
|
|
|
document.querySelector ('table')?.scrollIntoView ({ behavior: 'smooth' }) |
|
|
|
}, [location.search]) |
|
|
|
|
|
|
|
return ( |
|
|
|
<MainArea> |
|
|
|
<Helmet> |
|
|
|
|