mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Remove unnecessary constant variable
This commit is contained in:
parent
c209c98e3f
commit
e28c9bb3c4
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user