From 612bef14ad4ee72225ca5ec24246468d6716ea66 Mon Sep 17 00:00:00 2001 From: Terence <45381509+Vielheim@users.noreply.github.com> Date: Tue, 18 Oct 2022 21:20:56 +0800 Subject: [PATCH] [resumes][refactor] Change Tabs to List view (#387) Co-authored-by: Terence Ho <> --- .../comments/ResumeCommentListItem.tsx | 10 +- .../resumes/comments/ResumeCommentsList.tsx | 95 ++++++++++++------- 2 files changed, 66 insertions(+), 39 deletions(-) diff --git a/apps/portal/src/components/resumes/comments/ResumeCommentListItem.tsx b/apps/portal/src/components/resumes/comments/ResumeCommentListItem.tsx index 66fd6004..a313a228 100644 --- a/apps/portal/src/components/resumes/comments/ResumeCommentListItem.tsx +++ b/apps/portal/src/components/resumes/comments/ResumeCommentListItem.tsx @@ -16,7 +16,7 @@ import type { ResumeComment } from '~/types/resume-comments'; type ResumeCommentListItemProps = { comment: ResumeComment; - userId?: string; + userId: string | undefined; }; type ICommentInput = { @@ -78,8 +78,8 @@ export default function ResumeCommentListItem({ }; return ( -