fix: joinedAt nullable in UserSchema, guard null in profile page
This commit is contained in:
@@ -28,7 +28,8 @@ export default async function AllUsersPage({
|
||||
);
|
||||
}
|
||||
|
||||
const { items, total, per_page } = usersData;\n const perPage = per_page;
|
||||
const { items, total, per_page } = usersData;
|
||||
const perPage = per_page;
|
||||
const totalPages = Math.ceil(total / perPage);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user