Skip to content

Commit

Permalink
Merge pull request #345 from 42Statistics/fix/handle-text-when-data-i…
Browse files Browse the repository at this point in the history
…s-none

fix: team info handle error
  • Loading branch information
42sungwook authored Oct 21, 2023
2 parents 6f9e665 + e85e76a commit 89566ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/Profile/dashboard-contents/General/TeamInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ export const TeamInfo = () => {
return (
<>
{teams.length === 0 ? (
<DashboardContent title={title}>
<TextDefault text="프로젝트 신청 기록이 없어요" />
</DashboardContent>
) : (
<TeamInfoLayout>
<div
style={{
Expand All @@ -61,10 +65,6 @@ export const TeamInfo = () => {
<TeamInfoTable teams={teams} />
</div>
</TeamInfoLayout>
) : (
<DashboardContent title={title}>
<TextDefault text="프로젝트 신청 기록이 없어요" />
</DashboardContent>
)}
</>
);
Expand Down

0 comments on commit 89566ca

Please sign in to comment.