Skip to content

Commit

Permalink
refactor(web): Simplify the conditional rendering by removing unneces…
Browse files Browse the repository at this point in the history
…sary Fragment.
  • Loading branch information
NdekoCode committed Nov 6, 2024
1 parent a61f35f commit 3c115a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/app/[locale]/page-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function MainPage() {

{/* </Container> */}
<ResizablePanel defaultSize={65} maxSize={95} className="!overflow-y-auto custom-scrollbar">
<>{isTeamMember ? <TeamMembers kanbanView={view} /> : <NoTeam />}</>
{isTeamMember ? <TeamMembers kanbanView={view} /> : <NoTeam />}
</ResizablePanel>
</ResizablePanelGroup>
</div>
Expand Down

0 comments on commit 3c115a2

Please # to comment.