Skip to content

Commit

Permalink
fix: activity list when no token
Browse files Browse the repository at this point in the history
  • Loading branch information
aeolianeth committed Sep 5, 2024
1 parent 2c4b40c commit bd6700b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export function V4ActivityList() {

const payEvents = transformPayEventsRes(payEventsData) ?? []

if (!token?.data?.symbol) return null
return (
<div>
<div className="mb-5 flex items-baseline justify-between">
Expand Down Expand Up @@ -69,7 +68,7 @@ export function V4ActivityList() {
extra={
<span>
bought {event.beneficiaryTokenCount?.format(6)}{' '}
{token.data?.symbol}
{token.data?.symbol ?? 'tokens'}
</span>
}
/>
Expand Down

0 comments on commit bd6700b

Please sign in to comment.