Remove unnecessary constant variable

This commit is contained in:
mabashian 2020-08-18 14:17:09 -04:00
parent c209c98e3f
commit e28c9bb3c4

View File

@ -43,11 +43,9 @@ export default function useWsJob(initialJob) {
}
function updateJob(job, message) {
const updatedJob = {
return {
...job,
finished: message.finished,
status: message.status,
};
return updatedJob;
}