mirror of
https://github.com/outline/outline.git
synced 2026-12-04 10:24:43 +03:00
Change initial load limit to DEFAULT_PAGINATION_LIMIT
This commit is contained in:
1 parent
ddab370640
commit
2f4a9378ce
1 file changed
+2
-1
@@ -1,6 +1,7 @@
|
||||
import { observer } from "mobx-react";
|
||||
import * as React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { DEFAULT_PAGINATION_LIMIT } from "~/stores/BaseStore";
|
||||
import FilterOptions from "~/components/FilterOptions";
|
||||
import useStores from "~/hooks/useStores";
|
||||
|
||||
@@ -16,7 +17,7 @@ function UserFilter(props: Props) {
|
||||
|
||||
React.useEffect(() => {
|
||||
users.fetchPage({
|
||||
limit: 20,
|
||||
limit: DEFAULT_PAGINATION_LIMIT,
|
||||
});
|
||||
}, [users]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user