Commit b4bbfb19 authored by Emika Chamodi's avatar Emika Chamodi

fix ui

parent d8e93918
......@@ -55,15 +55,13 @@ const Application = () => {
applicationStatus = "Rejected";
}
console.log("STATUS ", status, applicationStatus);
// dispatch(
// updateApplication({
// applicationId: application._id,
// update: { status: applicationStatus },
// candidateId: application.candidate._id || "",
// })
// );
dispatch(
updateApplication({
applicationId: application._id,
update: { status: applicationStatus },
candidateId: application.candidate._id || "",
})
);
};
const onChangeStatus = (e: ChangeEvent<HTMLSelectElement>) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment