File tree Expand file tree Collapse file tree 5 files changed +6
-13
lines changed
Expand file tree Collapse file tree 5 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const UploadDocs = () => {
5656 } ) ;
5757 }
5858 } catch ( e ) {
59- console . log ( e ) ;
59+ console . error ( "getCheckinFiles: " + e ) ;
6060 }
6161 }
6262 if ( csrf ) {
@@ -98,7 +98,7 @@ const UploadDocs = () => {
9898 setFiles ( [ ...files , data ] ) ;
9999 } catch ( e ) {
100100 setFileColors ( fileColors => ( { ...fileColors , [ file . name ] : 'red' } ) ) ;
101- console . log ( { e } ) ;
101+ console . error ( "addFiles: " + e ) ;
102102 } finally {
103103 setLoading ( false ) ;
104104 }
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ const Notes = props => {
8585 }
8686 }
8787 } catch ( e ) {
88- console . log ( e ) ;
88+ console . error ( "getNotes: " + e ) ;
8989 }
9090 setIsLoading ( false ) ;
9191 }
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ const PrivateNote = () => {
9191 }
9292 }
9393 } catch ( e ) {
94- console . log ( e ) ;
94+ console . error ( "getPrivateNotes: " + e ) ;
9595 }
9696 setIsLoading ( false ) ;
9797 }
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ const EditPermissionsPage = () => {
229229 }
230230 } ) ;
231231 } else {
232- console . log ( res ?. error ) ;
232+ console . error ( res ?. error ) ;
233233 window . snackDispatch ( {
234234 type : UPDATE_TOAST ,
235235 payload : {
@@ -253,7 +253,7 @@ const EditPermissionsPage = () => {
253253 }
254254 } ) ;
255255 } else {
256- console . log ( res ?. error ) ;
256+ console . error ( res ?. error ) ;
257257 window . snackDispatch ( {
258258 type : UPDATE_TOAST ,
259259 payload : {
Original file line number Diff line number Diff line change @@ -191,13 +191,6 @@ const FeedbackRequestPage = () => {
191191 return hasFor ( ) && templateIsValid && hasFrom ( ) ;
192192 } else if ( activeStep === 3 ) {
193193 const dueQueryValid = query . due ? isValidDate ( query . due ) : true ;
194- console . log ( {
195- hasFor : hasFor ( ) ,
196- templateIsValid,
197- hasFrom : hasFrom ( ) ,
198- hasSend : hasSend ( ) ,
199- dueQueryValid
200- } ) ;
201194 return (
202195 hasFor ( ) && templateIsValid && hasFrom ( ) && hasSend ( ) && dueQueryValid
203196 ) ;
You can’t perform that action at this time.
0 commit comments