Skip to content

Commit

Permalink
fixed View ticks button on new profiles causes app error #952 (#960)
Browse files Browse the repository at this point in the history
  • Loading branch information
milbmr authored Aug 15, 2023
1 parent 4c850d6 commit e1ac405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/u2/[...slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Index: NextPage<TicksIndexPageProps> = ({ username, ticks }) => {
? <div className='h-screen'>Loading...</div>
: (
<>
<ChartsSection tickList={ticks} />
{ticks?.length !== 0 && <ChartsSection tickList={ticks} />}

<section className='max-w-lg mx-auto w-full px-4 py-8'>
<h2>{username}</h2>
Expand Down

1 comment on commit e1ac405

@vercel
Copy link

@vercel vercel bot commented on e1ac405 Aug 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.