File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
containers/Tutorial/components Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -129,13 +129,8 @@ const Level = ({
129129 } )
130130 }
131131 React . useEffect ( ( ) => {
132- console . log ( position . levelId )
133- console . log ( JSON . stringify ( position ) )
134132 // set the hints to empty on level starts
135133 setDisplayHintsIndex ( steps . map ( ( s ) => - 1 ) )
136- return ( ) => {
137- console . log ( 'LEVEL UNMOUNTED' )
138- }
139134 } , [ position . levelId ] )
140135
141136 const menu = (
Original file line number Diff line number Diff line change 11import * as sentry from '@sentry/browser'
22import { NODE_ENV , SENTRY_DSN } from '../../environment'
3+ import logger from '../logger'
34
45try {
56 if ( SENTRY_DSN && NODE_ENV === 'production' ) {
910 } )
1011 }
1112} catch ( error ) {
12- console . log ( `Error in Sentry init: ${ error . message } ` )
13+ logger ( `Error in Sentry init: ${ error . message } ` )
1314}
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ const useStateMachine = (): Output => {
7171
7272 // convert route to a string to avoid unnecessary React re-renders on deeply nested objects
7373 const route = createRouteString ( state . value )
74- console . log ( `STATE: ${ route } ` )
74+ logger ( `STATE: " ${ route } " ` )
7575
7676 return {
7777 context : state . context ,
You can’t perform that action at this time.
0 commit comments