diff --git a/pages/index.js b/pages/index.js index 520ec2f..18dad6c 100644 --- a/pages/index.js +++ b/pages/index.js @@ -124,7 +124,7 @@ export default class Home extends Component { } async validateSteamId(steamId) { - if (steamId.length < 16) { + if (steamId.length !== 17) { // Steam ID is invalid return this.setState({ avatarUrl: undefined }); } @@ -132,8 +132,6 @@ export default class Home extends Component { const data = await fetch("/api/validateid?steamid=" + steamId); const json = await data.json(); - console.log(json); - if (json.message === "Valid") { this.setState({ avatarUrl: `/api/steamavatar?steamid=${steamId}`, diff --git a/pages/overlay.js b/pages/overlay.js index a0a6166..ba4b500 100644 --- a/pages/overlay.js +++ b/pages/overlay.js @@ -282,8 +282,6 @@ export default class Overlay extends Component { noteFullyCut: (data) => { const { noteCut } = data; - console.log(noteCut); - // Left Saber if (noteCut.saberType === "SaberA") { const data = this.state.leftHand;