chore: increase user pagination limit from 10 to 50 in dashboard page
This commit is contained in:
@@ -22,7 +22,7 @@ export default function UsersPage() {
|
|||||||
const [totalUsers, setTotalUsers] = useState(0);
|
const [totalUsers, setTotalUsers] = useState(0);
|
||||||
const [activeFilter, setActiveFilter] = useState<RoleFilter>('ALL');
|
const [activeFilter, setActiveFilter] = useState<RoleFilter>('ALL');
|
||||||
const [avatarUrls, setAvatarUrls] = useState<Record<string, string>>({});
|
const [avatarUrls, setAvatarUrls] = useState<Record<string, string>>({});
|
||||||
const limit = 10;
|
const limit = 50;
|
||||||
|
|
||||||
// Helper function to check if avatar is an S3 key
|
// Helper function to check if avatar is an S3 key
|
||||||
const isS3Key = (avatar: string | null | undefined): boolean => {
|
const isS3Key = (avatar: string | null | undefined): boolean => {
|
||||||
|
|||||||
Reference in New Issue
Block a user