Skip to content

Commit

Permalink
Merge pull request #115 from EFUB4-Jukebox/dev
Browse files Browse the repository at this point in the history
✏️ Fix : 수정사항 복구
  • Loading branch information
YoungseoChoi23 authored Aug 21, 2024
2 parents 4759a68 + 0af3184 commit 23b19c4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/MyPage/PinMemoComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ const PinMemoComponent = ({
setIsTruncated(!isTruncated);
};

const text =
visibility === "PUBLIC"
? memo || "메모가 비어 있습니다"
: "비공개 메모입니다.";
const text = memo || "메모가 비어 있습니다.";
const maxLines = 2;
const showMoreBtn = text.split("\n").length > maxLines;
const displayText = isTruncated
Expand Down

0 comments on commit 23b19c4

Please sign in to comment.