Skip to content

Commit

Permalink
fix: remove unnecessary js conditional rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Feb 5, 2024
1 parent 63e8e14 commit d2089d3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/main/PageWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,9 @@ export const PageContent: FC<Props> = ({
{rightPanel === undefined && creatorDashboardSidebarType && (
<div {...sidebarStyles}>
<CreatorDashboardSidebar dashboardType={creatorDashboardSidebarType} />
{!isLargeDesktop && (
<div className='mt-3 xl-hidden'>
<TopUsersCard />
</div>
)}
<div className='mt-3 xl-hidden'>
<TopUsersCard />
</div>
{/* <OnBoardingSidebar hideOnBoardingSidebar={() => setShowOnBoardingSidebar(false)} /> */}
</div>
)}
Expand Down

0 comments on commit d2089d3

Please sign in to comment.