Remove restart button, double click

This commit is contained in:
Cole Deck 2024-07-29 14:00:55 -05:00
parent 98ff934797
commit 4b5cb19bd8
2 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ export default class NavBar extends Component {
this.setState({ clicks: clicks + 1 }); this.setState({ clicks: clicks + 1 });
if (clicks + 1 === 3) { if (clicks + 1 === 2) {
window.location.replace("/settings"); window.location.replace("/settings");
clearTimeout(timer); clearTimeout(timer);

View File

@ -28,12 +28,12 @@ export default class SettingsComponent extends Component {
> >
<span>🔴 Power Off</span> <span>🔴 Power Off</span>
</div> </div>
<div {/* <div
className="settings-powerButton" className="settings-powerButton"
onClick={() => this.restartPower()} onClick={() => this.restartPower()}
> >
<span>🟨 Restart</span> <span>🟨 Restart</span>
</div> </div> */}
</div> </div>
<div className="settings-creditsContainer"> <div className="settings-creditsContainer">
<div className="settings-credits"> <div className="settings-credits">