12 lines
466 B
JavaScript
12 lines
466 B
JavaScript
export default function RetrospectiveBox({ briefing, review }) {
|
|
const retro = briefing?.narrative?.retrospective;
|
|
if (!retro) return null;
|
|
const drawNo = review?.draw_no ?? (briefing?.draw_no ? briefing.draw_no - 1 : null);
|
|
return (
|
|
<aside className="lc-retro">
|
|
<p className="lc-retro__time">▸ 지난 주 {drawNo ? `${drawNo}회` : ''} 회고</p>
|
|
<p className="lc-retro__body">{retro}</p>
|
|
</aside>
|
|
);
|
|
}
|