File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
client/src/components/View/TableView Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 6
6
branches : [main]
7
7
types :
8
8
- completed
9
- push :
10
- branches :
11
- - " 75-task-queue-for-api-calls"
12
9
13
10
env :
14
11
AWS_REGION : us-east-1 # AWS region
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ const Table: React.FC = () => {
41
41
42
42
const onMessage = useCallback (
43
43
( data : { status : string ; progress : number ; task_id : string ; done : boolean } ) => {
44
- console . log ( data )
45
44
setStatus ( {
46
45
status : data . status ,
47
46
progress : Number ( data . progress ) ,
@@ -125,10 +124,9 @@ const Table: React.FC = () => {
125
124
} )
126
125
if ( response . ok ) {
127
126
const new_data = await response . json ( )
128
- console . log ( `Task ID: ${ new_data . task_id } ` )
127
+ console . info ( `Task ID: ${ new_data . task_id } ` )
129
128
} else {
130
129
setData ( ( prev ) => [ ...prev , get_failed_data ( file . name ) ] )
131
- console . error ( 'Upload failed' )
132
130
}
133
131
} catch ( error ) {
134
132
console . error ( 'Error uploading file:' , error )
You can’t perform that action at this time.
0 commit comments