Skip to content

Commit 11556fb

Browse files
committed
refactor: remove debug logging from job status update effect
1 parent fe2042b commit 11556fb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/components/BackgroundJobItem.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,13 @@ export function BackgroundJobItem({
2929
// Update job when status changes
3030
useEffect(() => {
3131
if (statusData) {
32-
console.log('Polling data received:', statusData)
33-
console.log('Current job:', job)
34-
3532
const needsUpdate =
3633
statusData.status !== job.status ||
3734
statusData.response !== job.response ||
3835
statusData.error !== job.error ||
3936
statusData.completedAt !== job.completedAt
4037

4138
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-
4939
updateJob(job.id, {
5040
status: statusData.status,
5141
response: statusData.response || job.response,

0 commit comments

Comments
 (0)