File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function App() {
38
38
const [ exercise , setExercise ] = useState ( 0 ) // Tutorial Exercise
39
39
const [ showTutorial , setshowTutorial ] = useState ( false )
40
40
41
- { /*Handling Tutorial Buttons */ }
41
+ // Handle tutorial buttons
42
42
const goRight = ( ) => {
43
43
if ( exercise < Tutorial . length - 1 ) {
44
44
setExercise ( exercise + 1 )
@@ -55,7 +55,7 @@ function App() {
55
55
}
56
56
57
57
58
- { /*switch toggle for stdlib */ }
58
+ // Switch toggle for stdlib
59
59
const onSwitchAction = ( ) => {
60
60
setstdlibOn ( ! stdlibOn ) ;
61
61
if ( ! stdlibOn ) {
@@ -87,7 +87,7 @@ const tutfunc = (TutorialCode) =>{
87
87
88
88
//inputbox toggle
89
89
const handleInputBox = ( e ) => {
90
- { inputOn ? setinputOn ( false ) : setinputOn ( true ) }
90
+ inputOn ? setinputOn ( false ) : setinputOn ( true )
91
91
//setinputOn(true)
92
92
}
93
93
//POST request to Flask server
You can’t perform that action at this time.
0 commit comments