Skip to content

Commit

Permalink
fix. 등록버튼 표시 조건 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyu-dev committed Dec 30, 2023
1 parent efed3f5 commit 84d8497
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const WeekTemplate = () => {
<EmptyPlan>아직 읽고 있는 책이 없어요.</EmptyPlan>
)}
{/* 총 등록개수가 3개가 되면 버튼 숨김 */}
{(planData?.length ?? 0) < 3 && (
{iconSize < 3 && (
<AddPlanWrap onClick={handleClickAdd}>
<IconPlus />
</AddPlanWrap>
Expand Down

0 comments on commit 84d8497

Please sign in to comment.