mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-01 11:41:14 +08:00
Fixing some lint errors with the new admin features
This commit is contained in:
1 parent
39485c6ced
commit
e69715fbec
6 files changed
+6
-8
No files matched your search
@@ -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