Fixing some lint errors with the new admin features

This commit is contained in:
Keith Stevens
2023-01-08 20:21:13 +09:00
parent 39485c6ced
commit e69715fbec
6 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -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,
});