Fix code
This commit is contained in:
parent
0167260dc5
commit
94bac26a7c
@ -56,7 +56,6 @@ const StrNoise: Component = () => {
|
||||
|
||||
const arr = input().split('');
|
||||
const its = noiseLevel() / 100 * arr.length * 2;
|
||||
console.log('EEE', its);
|
||||
for (let i = 0; i < its; i++) {
|
||||
const type = types[Math.floor(generator() * types.length)];
|
||||
|
||||
@ -102,7 +101,7 @@ const StrNoise: Component = () => {
|
||||
<label>Swap Adjacent</label>
|
||||
</div>
|
||||
<h2>Seed</h2>
|
||||
<input type={'seed'} min={0} max={100} value={seed()} onInput={e => setSeed(e.currentTarget.value)} />
|
||||
<input min={0} max={100} value={seed()} onInput={e => setSeed(e.currentTarget.value)} />
|
||||
<h2>Output</h2>
|
||||
<input value={output()} ref={outputField} />
|
||||
<button onclick={copy}>Copy Output</button>
|
||||
|
Loading…
Reference in New Issue
Block a user