We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa03eef + 1afa80b commit fb22ee4Copy full SHA for fb22ee4
components/status-page.js
@@ -252,7 +252,8 @@ export default class StatusPage extends React.PureComponent {
252
}
253
254
handleSettingsPopover(e) {
255
- this.setState({ settingsPopoverActive: !this.state.settingsPopoverActive }); // eslint-disable-line react/no-access-state-in-setstate
+ const { settingsPopoverActive } = this.state;
256
+ this.setState({ settingsPopoverActive: !settingsPopoverActive });
257
e.stopPropagation();
258
259
0 commit comments