File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export default function GameBuildsPage() {
81
81
} ;
82
82
} ) ;
83
83
} )
84
- . catch ( ( e ) => { } ) ;
84
+ . catch ( ( e ) => { console . log ( "error with game validation: " + e ) } ) ;
85
85
} else {
86
86
setVersionData ( ( prevVersionData ) => {
87
87
const oldData = prevVersionData [ version . uuid ] ?? {
@@ -112,7 +112,7 @@ export default function GameBuildsPage() {
112
112
} ;
113
113
} ) ;
114
114
} )
115
- . catch ( ( e ) => { } ) ;
115
+ . catch ( ( e ) => { console . log ( "error with offline validation: " + e ) } ) ;
116
116
} else {
117
117
setVersionData ( ( prevVersionData ) => {
118
118
const oldData = prevVersionData [ version . uuid ] ?? {
@@ -150,7 +150,6 @@ export default function GameBuildsPage() {
150
150
} ;
151
151
152
152
const handleValidationEvent = ( e : ValidationEvent , offline : boolean ) => {
153
- console . log ( e ) ;
154
153
setVersionData ( ( prevVersionData ) => {
155
154
const oldData = prevVersionData [ e . uuid ] ?? {
156
155
offlineSize : undefined ,
@@ -160,7 +159,6 @@ export default function GameBuildsPage() {
160
159
const newData = offline
161
160
? { ...oldData , offlineSize : newBytes }
162
161
: { ...oldData , gameSize : newBytes } ;
163
- console . log ( newData ) ;
164
162
return {
165
163
...prevVersionData ,
166
164
[ e . uuid ] : newData ,
You can’t perform that action at this time.
0 commit comments