Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
FinalAccount committed Jul 20, 2023
1 parent 4af26a6 commit d656f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export class App extends React.Component {
message: 'Nothing was pressed yet',
};

componentDidMount() {
componentDidMount(): void {
document.addEventListener('keyup', this.handlePressedKey);
}

Expand Down

0 comments on commit d656f70

Please sign in to comment.