mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-30 13:43:59 +08:00
[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:
@ -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 ? (
|
||||
|
Reference in New Issue
Block a user