fix: minor fixes for the frontend
This commit is contained in:
parent
3f3cc5c484
commit
5d1d138aca
3 changed files with 7 additions and 5 deletions
|
|
@ -96,7 +96,7 @@ export default function UserPage({ userId }: UserPageProps) {
|
|||
// "all"
|
||||
// );
|
||||
|
||||
if (!result?.data?.data.length) return { items: [], nextCursor: null };
|
||||
if (!result?.data?.data?.length) return { items: [], nextCursor: null };
|
||||
|
||||
return { items: result.data?.data, nextCursor: result.data?.cursor ?? null };
|
||||
} catch (err: any) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue