mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-20 12:10:50 +08:00
Fixing some lint errors with the new admin features
This commit is contained in:
@@ -27,7 +27,7 @@ const UsersCell = () => {
|
||||
// Fetch and save the users.
|
||||
// This follows useSWR's recommendation for simple pagination:
|
||||
// https://swr.vercel.app/docs/pagination#when-to-use-useswr
|
||||
const { isLoading } = useSWR(`/api/admin/users?pageIndex=${pageIndex}`, fetcher, {
|
||||
useSWR(`/api/admin/users?pageIndex=${pageIndex}`, fetcher, {
|
||||
onSuccess: setUsers,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user