[resumes][chore] Update TODOs

pull/317/head
Terence Ho 3 years ago
parent 702811bafa
commit 9273311266

@ -7,10 +7,7 @@ type ICommentsSectionProps = {
resumeId: string; resumeId: string;
}; };
// TODO: Retrieve resumeId for CommentsSection export default function CommentsSection({ resumeId }: ICommentsSectionProps) {
export default function CommentsSection({
resumeId = '',
}: ICommentsSectionProps) {
const [showCommentsForm, setShowCommentsForm] = useState(false); const [showCommentsForm, setShowCommentsForm] = useState(false);
return showCommentsForm ? ( return showCommentsForm ? (

@ -73,7 +73,8 @@ export default function ResumeReviewPage() {
<ResumePdf /> <ResumePdf />
</div> </div>
<div className="mx-8 w-1/2"> <div className="mx-8 w-1/2">
<CommentsSection resumeId="" /> {/* TODO: Update resumeId */}
<CommentsSection resumeId="cl8x8zc5z0001yeokhwa7cs0a" />
</div> </div>
</div> </div>
</main> </main>

Loading…
Cancel
Save