From ce8aa20714d68bcc39aa3e19590a93c87cd586e0 Mon Sep 17 00:00:00 2001 From: hei98 Date: Fri, 13 Oct 2023 10:39:24 +0200 Subject: [PATCH] added TODOs for getting notes from backend --- .../InterviewNotesAdminPage/InterviewNotesAdminPage.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/PagesAdmin/InterviewNotesAdminPage/InterviewNotesAdminPage.tsx b/frontend/src/PagesAdmin/InterviewNotesAdminPage/InterviewNotesAdminPage.tsx index b91ae1c6b..3ee9a2b85 100644 --- a/frontend/src/PagesAdmin/InterviewNotesAdminPage/InterviewNotesAdminPage.tsx +++ b/frontend/src/PagesAdmin/InterviewNotesAdminPage/InterviewNotesAdminPage.tsx @@ -4,17 +4,18 @@ import { AdminPageLayout } from '../AdminPageLayout/AdminPageLayout'; import styles from './InterviewNotesAdminPage.module.scss'; export function InterviewNotesPage() { + //TODO: interview notes from backen const [editingMode, setEditingMode] = useState(false); - const [text, setText] = useState('Notater fra intervjuet her...'); //place the text from the backend here. - const posid = 1; //place id for the person applying here. + const [text, setText] = useState('Notater fra intervjuet her...'); //TODO: place the text from the backend here. + const posid = 1; //TODO: get the posid from the backend. function handleOnClick() { if (editingMode) { setEditingMode(false); - //Save the text in the textbox and send it to the backend. + //TODO: Save the text in the textbox and send it to the backend. } else { setEditingMode(true); - //Get the text from the backend, and place it in the textbox. + //TODO: Get the text from the backend, and place it in the textbox. } }