From bb3a08e4ddb55c01c9a46ad585fb44ef120d304c Mon Sep 17 00:00:00 2001 From: Terence Ho <> Date: Wed, 5 Oct 2022 15:01:35 +0800 Subject: [PATCH] [resumes][refactor] Shift comments section to its own component --- .../components/resumes/CommentsSection.tsx | 39 +++++++++++++++++++ apps/portal/src/pages/resumes/review.tsx | 34 ++-------------- 2 files changed, 42 insertions(+), 31 deletions(-) create mode 100644 apps/portal/src/components/resumes/CommentsSection.tsx diff --git a/apps/portal/src/components/resumes/CommentsSection.tsx b/apps/portal/src/components/resumes/CommentsSection.tsx new file mode 100644 index 00000000..d250e836 --- /dev/null +++ b/apps/portal/src/components/resumes/CommentsSection.tsx @@ -0,0 +1,39 @@ +import { useState } from 'react'; +import { Button, Tabs } from '@tih/ui'; + +export default function CommentsSection() { + const [tab, setTab] = useState('general'); + + return ( +