rc
This commit is contained in:
parent
4209695865
commit
95f2ff86a5
|
|
@ -268,7 +268,7 @@ function UserPage({ params }: { params: { id: string } }) {
|
|||
</section>
|
||||
|
||||
<div className={`${activeSelected ? "" : "hidden"} flex flex-col justify-center items-center`}>
|
||||
{callouts.map((callout) => (
|
||||
{callouts ? callouts.map((callout) => (
|
||||
<CalloutCard
|
||||
key={callout.ca}
|
||||
iconUrl={callout.icon_url}
|
||||
|
|
@ -279,7 +279,7 @@ function UserPage({ params }: { params: { id: string } }) {
|
|||
gains={parseFloat(callout.gains)}
|
||||
dexUrl={dexUrls[callout.ca]} // Pass the Dexscreener URL to the CalloutCard
|
||||
/>
|
||||
))}
|
||||
)) : "Empty"}
|
||||
</div>
|
||||
|
||||
<section className={`flex w-full ${!activeSelected ? "" : "hidden"}`}>
|
||||
|
|
@ -297,8 +297,8 @@ function UserPage({ params }: { params: { id: string } }) {
|
|||
</section>
|
||||
</section>
|
||||
|
||||
<div className={`${!activeSelected ? "" : "hidden"} flex flex-col justify-center items-center`}>
|
||||
{history.map((entry) => (
|
||||
<div className={`${!activeSelected ? "" : "hidden"} flex flex-col justify-center items-center`}>
|
||||
{history ? history.map((entry) => (
|
||||
<CalloutCard
|
||||
key={entry.ca}
|
||||
iconUrl={entry.icon_url}
|
||||
|
|
@ -309,7 +309,7 @@ function UserPage({ params }: { params: { id: string } }) {
|
|||
gains={parseFloat(entry.gains)}
|
||||
dexUrl={dexUrls[entry.ca]} // Pass the Dexscreener URL to the CalloutCard
|
||||
/>
|
||||
))}
|
||||
)) : "Empty"}
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user