Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
renderDialog() {
if (this.state.showDialog) {
const keyMap = getApplicationKeyMap();
const { filter } = this.state;
const _filter = filter.toUpperCase();
return (
this.setState({ showDialog: false })} }
>
<div style="{styles.DIALOG}">
<h2>
Keyboard shortcuts
</h2>
</div>