mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-05-04 18:22:47 -03:00
add pagination in following and followers
This commit is contained in:
@@ -10,12 +10,14 @@ export const load: PageLoad = async ({ params, fetch }) => {
|
||||
|
||||
const seguidosResponse: UsersResponseDto | null = await obtenerSeguidosPorUsuario(
|
||||
usuario.id,
|
||||
1,
|
||||
100,
|
||||
fetch
|
||||
);
|
||||
|
||||
return {
|
||||
usuario,
|
||||
seguidos: seguidosResponse?.response || []
|
||||
seguidos: seguidosResponse?.response || [],
|
||||
totalCount: seguidosResponse?.totalCount ?? 0
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user