File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 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";
66import { StandardPagination } from "@kleros/ui-components-library" ;
77
88import { useJurorsByCoherenceScore } from "queries/useJurorsByCoherenceScore" ;
9- import useIsDesktop from "hooks/useIsDesktop" ;
109
1110import { OrderDirection } from "src/graphql/graphql" ;
1211
@@ -32,8 +31,7 @@ const DisplayJurors: React.FC<IDisplayJurors> = ({ totalLeaderboardJurors }) =>
3231 const scrollTop = useScrollTop ( ) ;
3332 const { id : searchValue } = decodeURIFilter ( filter ?? "all" ) ;
3433 const navigate = useNavigate ( ) ;
35- const isDesktop = useIsDesktop ( ) ;
36- const jurorsPerPage = isDesktop ? 20 : 10 ;
34+ const jurorsPerPage = 10 ;
3735 const currentPage = parseInt ( page ?? "1" ) ;
3836 const jurorSkip = jurorsPerPage * ( currentPage - 1 ) ;
3937 const { data : queryJurors } = useJurorsByCoherenceScore (
You can’t perform that action at this time.
0 commit comments