diff --git a/src/components/auth/MemberListCount.tsx b/src/components/auth/MemberListCount.tsx index ecf235b..c2f3bdc 100644 --- a/src/components/auth/MemberListCount.tsx +++ b/src/components/auth/MemberListCount.tsx @@ -14,6 +14,7 @@ import Comment from '../board/Comment' import Board from '../board/Board' import DiscussionBoard from '../discussion/DiscussionBoard' import WorryBoard from '../worry/WorryBoard' +import Container from '../common/Container' const TABS = [ '내가 쓴 게시글', @@ -42,35 +43,50 @@ const MemberListCount = ({ id }: MemberListCountProps) => { return ( boardList && boardList.result.map((item: BoardI, index: number) => ( - +
+ +
+
)) ) case '내가 쓴 토론글': return ( discussionList && discussionList.result.map((item: DiscussionBoardI, index: number) => ( - +
+ +
+
)) ) case '내가 쓴 고민글': return ( waitingWorryList && waitingWorryList.result.map((item: WorryI, index: number) => ( - +
+ +
+
)) ) case '내가 해결한 고민': return ( solvedWorryList && solvedWorryList.result.map((item: WorryI, index: number) => ( - +
+ +
+
)) ) case '내가 쓴 댓글': return ( commentList && commentList.result.map((item: CommentI, index: number) => ( - +
+ +
+
)) ) default: @@ -97,7 +113,7 @@ const MemberListCount = ({ id }: MemberListCountProps) => { ))}
-
{renderList()}
+ {renderList()}
) } diff --git a/src/components/auth/UserProfile.tsx b/src/components/auth/UserProfile.tsx index a71cf28..6b4fd0e 100644 --- a/src/components/auth/UserProfile.tsx +++ b/src/components/auth/UserProfile.tsx @@ -13,13 +13,14 @@ const UserProfile = ({ profile }: UserProfileProps) => { return (
- profile +
+ profile +
{nickName} 님
diff --git a/src/components/board/Board.tsx b/src/components/board/Board.tsx index 0f55d22..644bae0 100644 --- a/src/components/board/Board.tsx +++ b/src/components/board/Board.tsx @@ -36,7 +36,7 @@ const Board = ({ board }: BoardProps) => { return (
handleBoardClick(id)} >
diff --git a/src/components/board/BoardPage.tsx b/src/components/board/BoardPage.tsx index 2c5e921..1dfe7b8 100644 --- a/src/components/board/BoardPage.tsx +++ b/src/components/board/BoardPage.tsx @@ -51,12 +51,12 @@ const BoardPage = () => { onClick={() => {}} />
-
+
{boardList && boardList.result.map((board: BoardI) => (
-
+
))} diff --git a/src/components/worry/WorryBoard.tsx b/src/components/worry/WorryBoard.tsx index 945af53..46468d4 100644 --- a/src/components/worry/WorryBoard.tsx +++ b/src/components/worry/WorryBoard.tsx @@ -24,7 +24,7 @@ const WorryBoard = ({ worryBoard }: WorryBoardProps) => { return (
{ router.push(`/worry/${id}`) }} diff --git a/src/components/worry/WorryPage.tsx b/src/components/worry/WorryPage.tsx index 96e29e6..7b666d0 100644 --- a/src/components/worry/WorryPage.tsx +++ b/src/components/worry/WorryPage.tsx @@ -80,12 +80,12 @@ const WorryPage = () => { setStrFromMbti={setWaitingStrFromMbti} setStrToMbti={setWaitingStrToMbti} /> -
+
{waitingWorryList && waitingWorryList.result.map((worry: WorryI) => (
-
+
))} @@ -110,12 +110,12 @@ const WorryPage = () => { setStrFromMbti={setSolvedStrFromMbti} setStrToMbti={setSolvedStrToMbti} /> -
+
{solvedWorryList && solvedWorryList.result.map((worry: WorryI) => (
-
+
))}