diff --git a/packages/next-common/components/profile/identityTimeline/index.js b/packages/next-common/components/profile/identityTimeline/index.js index 34435aa245..c848344914 100644 --- a/packages/next-common/components/profile/identityTimeline/index.js +++ b/packages/next-common/components/profile/identityTimeline/index.js @@ -68,18 +68,21 @@ export default function ProfileIdentityTimeline() { const chain = useChain(); const address = useProfileAddress(); const timeline = useIdentityTimeline(); + const hasTimeline = timeline && timeline.length > 0; return ( -
- - View More - -
+ {hasTimeline && ( +
+ + View More + +
+ )}
); } diff --git a/packages/next-common/components/profile/transfers/index.js b/packages/next-common/components/profile/transfers/index.js index d7f6453ac5..344e6bcf19 100644 --- a/packages/next-common/components/profile/transfers/index.js +++ b/packages/next-common/components/profile/transfers/index.js @@ -28,7 +28,9 @@ export default function ProfileTransfers() { } fetch( - `https://${chain}-api.statescan.io/accounts/${address}/transfers?page=${page}&page_size=${DEFAULT_PAGE_SIZE}`, + `https://${chain}-api.statescan.io/accounts/${address}/transfers?page=${ + page - 1 + }&page_size=${DEFAULT_PAGE_SIZE}`, ) .then((response) => { if (!response.ok) {