Skip to content

Commit

Permalink
Merge pull request #241 from Meetfolio-Project-CodeZ-Team/develop
Browse files Browse the repository at this point in the history
merge to main
  • Loading branch information
NAKDO authored Jun 7, 2024
2 parents 901d2ae + d57c988 commit fbd4fcf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/app/components/mypage/MyBoardCard.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { PROFILE_EMOJI } from '@/app/constants/signup'
import { selectedPostId } from '@/app/recoil/board'
import Comment from '@/app/ui/svg/main/Comment'
import Like from '@/app/ui/svg/main/Like'
import Image from 'next/image'
import { useRouter } from 'next/navigation'
import { useState } from 'react'
import { useRecoilState } from 'recoil'
import Image from 'next/image'
import { PROFILE_EMOJI } from '@/app/constants/signup'

interface MyBoardCardProps {
title?: string
Expand Down Expand Up @@ -78,8 +78,10 @@ const MyBoardCard = ({
/>
</div>
</div>
<div className="w-[1035px] h-[73px] left-[29px] top-[113px] absolute text-gray-900 text-[15px] font-medium leading-snug">
{content}
<div className="w-[1035px] h-[73px] left-[29px] top-[113px] absolute text-gray-900 text-[15px] font-medium leading-snug ">
{(content!==undefined && content.length < 360)
? content
: content?.substring(0, 360) + '...'}
<br />
<br />{' '}
</div>
Expand Down

0 comments on commit fbd4fcf

Please sign in to comment.