Skip to content

Commit

Permalink
fixed changes
Browse files Browse the repository at this point in the history
  • Loading branch information
parmenid89 committed Jul 24, 2023
1 parent 7a8dccc commit b261c71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export class App extends React.Component {

return (
<div className="App">
<p className="App__message">{pressedKey ? (`The last pressed key is [${pressedKey}]`) : ('Nothing was pressed yet')}</p>
<p className="App__message">{pressedKey
? (`The last pressed key is [${pressedKey}]`)
: ('Nothing was pressed yet')}</p>
</div>
);
}
Expand Down

0 comments on commit b261c71

Please sign in to comment.