Skip to content

Commit

Permalink
remove changes for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
henilp105 committed Sep 24, 2022
1 parent e2eed14 commit bb917b7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,8 @@ const tutfunc = (TutorialCode) =>{
setText(urlParams.get('code'))
}

const handleKeyDown = event => {
if (event.key === 'Control' || event.key === 'Command') {
handleClick();
}
};


return (
<div className="App" onLoad={loadCode} tabIndex={0} onKeyDown={handleKeyDown}>
<div className="App" onLoad={loadCode}>
{/*Navbar*/}
<div style={{paddingBottom: "0.5rem"}}><Navigationbar/></div>
<div className='code-wrapper'>
Expand Down

0 comments on commit bb917b7

Please sign in to comment.