File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { isUndefined } from "utils/index";
6
6
import { StandardPagination } from "@kleros/ui-components-library" ;
7
7
8
8
import { useJurorsByCoherenceScore } from "queries/useJurorsByCoherenceScore" ;
9
- import useIsDesktop from "hooks/useIsDesktop" ;
10
9
11
10
import { OrderDirection } from "src/graphql/graphql" ;
12
11
@@ -32,8 +31,7 @@ const DisplayJurors: React.FC<IDisplayJurors> = ({ totalLeaderboardJurors }) =>
32
31
const scrollTop = useScrollTop ( ) ;
33
32
const { id : searchValue } = decodeURIFilter ( filter ?? "all" ) ;
34
33
const navigate = useNavigate ( ) ;
35
- const isDesktop = useIsDesktop ( ) ;
36
- const jurorsPerPage = isDesktop ? 20 : 10 ;
34
+ const jurorsPerPage = 10 ;
37
35
const currentPage = parseInt ( page ?? "1" ) ;
38
36
const jurorSkip = jurorsPerPage * ( currentPage - 1 ) ;
39
37
const { data : queryJurors } = useJurorsByCoherenceScore (
You can’t perform that action at this time.
0 commit comments