refactor: 첫번째 plan의 삭제버튼 제거
This commit is contained in:
parent
90d8e867bd
commit
f5ee816b19
@ -37,6 +37,7 @@ export default function CanvasLayout({ children }) {
|
|||||||
onClick={() => handleCurrentPlan(plan.id)}
|
onClick={() => handleCurrentPlan(plan.id)}
|
||||||
>
|
>
|
||||||
<span>{`Plan ${plan.ordering}`}</span>
|
<span>{`Plan ${plan.ordering}`}</span>
|
||||||
|
{plan.ordering !== 1 && (
|
||||||
<i
|
<i
|
||||||
className="close"
|
className="close"
|
||||||
onClick={(e) =>
|
onClick={(e) =>
|
||||||
@ -49,6 +50,7 @@ export default function CanvasLayout({ children }) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
></i>
|
></i>
|
||||||
|
)}
|
||||||
</button>
|
</button>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user