File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -29,23 +29,13 @@ export function BackgroundJobItem({
29
29
// Update job when status changes
30
30
useEffect ( ( ) => {
31
31
if ( statusData ) {
32
- console . log ( 'Polling data received:' , statusData )
33
- console . log ( 'Current job:' , job )
34
-
35
32
const needsUpdate =
36
33
statusData . status !== job . status ||
37
34
statusData . response !== job . response ||
38
35
statusData . error !== job . error ||
39
36
statusData . completedAt !== job . completedAt
40
37
41
38
if ( needsUpdate ) {
42
- console . log ( 'Updating job with:' , {
43
- status : statusData . status ,
44
- response : statusData . response ,
45
- error : statusData . error ,
46
- completedAt : statusData . completedAt ,
47
- } )
48
-
49
39
updateJob ( job . id , {
50
40
status : statusData . status ,
51
41
response : statusData . response || job . response ,
You can’t perform that action at this time.
0 commit comments