commit 1909f472cc2a2ef67e2dd0fcaec867bbdd73b3cd
parent c404a9da9194426791eb2bfedfe2132c74b679d2
Author: Massimo Siboldi <mdsiboldi@gmail.com>
Date: Thu, 8 Mar 2018 20:04:11 -0800
Fix automatic indentation issues
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/App/index.js b/src/App/index.js
@@ -153,7 +153,7 @@ class App extends Component {
return new Array(consts.BUF_SIZE).fill(0);
}
const runningAverage = (curVal, valToAdd, iteration) =>
- (((curVal * iteration) + valToAdd) / (iteration + 1));
+ (((curVal * iteration) + valToAdd) / (iteration + 1));
const firstTone = tones.shift();
return tones.reduce(
(totalWaveform, currTone, i) => (
@@ -350,7 +350,7 @@ class App extends Component {
<HSlider value={this.props.volume} update={this.props.setVol} />
</div>
<div class="wave-manager-container">
- {tones}
+ {tones}
</div>
<button onClick={() => this.addTone()}>+</button>
<Synth