diff --git a/app/src/Profile/dashboard-contents/Eval/DestinyRanking.tsx b/app/src/Profile/dashboard-contents/Eval/DestinyRanking.tsx index 19899e489..a070ec7ea 100644 --- a/app/src/Profile/dashboard-contents/Eval/DestinyRanking.tsx +++ b/app/src/Profile/dashboard-contents/Eval/DestinyRanking.tsx @@ -8,6 +8,7 @@ import { DashboardContentNotFound, } from '@shared/components/DashboardContentView/Error'; import { UserRankList } from '@shared/components/DashboardContentView/Rank/UserRankList'; +import { TextDefault } from '@shared/components/DashboardContentView/Text/TextDefault'; import { useContext } from 'react'; const GET_DESTINY_RANKING_BY_LOGIN = gql(/* GraphQL */ ` @@ -54,7 +55,11 @@ export const DestinyRanking = () => { return ( - + {destinyRanking.length !== 0 ? ( + + ) : ( + + )} ); }; diff --git a/app/src/Profile/dashboard-contents/Eval/RecentComment.tsx b/app/src/Profile/dashboard-contents/Eval/RecentComment.tsx index b2cc18c19..c033b13ca 100644 --- a/app/src/Profile/dashboard-contents/Eval/RecentComment.tsx +++ b/app/src/Profile/dashboard-contents/Eval/RecentComment.tsx @@ -6,6 +6,7 @@ import { DashboardContentLoading, DashboardContentNotFound, } from '@shared/components/DashboardContentView/Error'; +import { TextDefault } from '@shared/components/DashboardContentView/Text/TextDefault'; import { InfoTooltip } from '@shared/components/InfoTooltip'; import { Text } from '@shared/ui-kit'; import { useContext } from 'react'; @@ -35,12 +36,23 @@ export const RecentComment = () => { const { recentComment } = data.getPersonalEval; // FIXME: null일 수 있음. return ( - } - type="Scrollable" - > - {recentComment} - + <> + {recentComment ? ( + } + type="Scrollable" + > + {recentComment} + + ) : ( + } + > + + + )} + ); }; diff --git a/app/src/Profile/dashboard-contents/General/TeamInfo/index.tsx b/app/src/Profile/dashboard-contents/General/TeamInfo/index.tsx index 28386cbdf..463b6ce68 100644 --- a/app/src/Profile/dashboard-contents/General/TeamInfo/index.tsx +++ b/app/src/Profile/dashboard-contents/General/TeamInfo/index.tsx @@ -2,11 +2,13 @@ import { UserProfileContext } from '@/Profile/contexts/UserProfileContext'; import { useQuery } from '@apollo/client'; import styled from '@emotion/styled'; import { gql } from '@shared/__generated__'; +import { DashboardContent } from '@shared/components/DashboardContent'; import { DashboardContentBadRequest, DashboardContentLoading, DashboardContentNotFound, } from '@shared/components/DashboardContentView/Error'; +import { TextDefault } from '@shared/components/DashboardContentView/Text/TextDefault'; import { useContext } from 'react'; import { TeamInfoTable } from './TeamInfoTable'; @@ -41,19 +43,29 @@ export const TeamInfo = () => { const { teams } = data.getPersonalGeneral.teamInfo; + const title = '팀 정보'; + return ( - -
- -
-
+ <> + {teams.length === 0 ? ( + +
+ +
+
+ ) : ( + + + + )} + ); }; diff --git a/app/src/Project/dashboard-contents/ValidatedRate.tsx b/app/src/Project/dashboard-contents/ValidatedRate.tsx index 9d06fd427..514cf7f3d 100644 --- a/app/src/Project/dashboard-contents/ValidatedRate.tsx +++ b/app/src/Project/dashboard-contents/ValidatedRate.tsx @@ -55,7 +55,7 @@ export const ValidatedRate = () => { if (validatedRate.total === 0) { return ( - 제출 기록이 없어요 😐 + 제출 기록이 없어요 ); } diff --git a/app/src/Team/index.tsx b/app/src/Team/index.tsx index 6e74c6b3b..5921c66a5 100644 --- a/app/src/Team/index.tsx +++ b/app/src/Team/index.tsx @@ -169,7 +169,7 @@ const TeamPage = () => { 평가 기록 {moulinette == null && evalLogs.length === 0 ? ( - 평가 기록이 없습니다. + 평가 기록이 없어요 ) : null}