[resumes][refactor] Change to ResumesProfile schema (#318)

* [resumes][chore] Update TODOs

* [resumes][refactor] Change to new schema

* [resumes][refactor] Change query to findUniqueOrThrow

Co-authored-by: Terence Ho <>
This commit is contained in:
Terence
2022-10-07 16:09:52 +08:00
committed by GitHub
parent 702811bafa
commit 1146c5db40
4 changed files with 34 additions and 14 deletions

View File

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