Skip to content

Commit 4dfab85

Browse files
committed
Remove logging
1 parent 65324d2 commit 4dfab85

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

docs/bundle.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AccountIdBond.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ AccountIdBond.defaultProps = {
3333
validator: a => {
3434
let y = secretStore().find(a);
3535
if (y) {
36-
console.log('ss found', a, y)
3736
return { external: y.account, internal: a, ok: true, extra: { knowSecret: true } };
3837
}
3938
let z = addressBook().find(a);
4039
if (z) {
41-
console.log('ab found', a, z)
4240
return { external: z.account, internal: a, ok: true, extra: { knowSecret: false } };
4341
}
4442
return runtime.balances.ss58Decode(a).map(
@@ -60,7 +58,6 @@ SignerBond.defaultProps = {
6058
validator: a => {
6159
let y = secretStore().find(a);
6260
if (y) {
63-
console.log('Found', y, a)
6461
return { external: y.account, internal: a, ok: true };
6562
}
6663
return runtime.balances.ss58Decode(a).map(

src/InputBond.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ class InputBond extends ReactiveComponent {
133133
}
134134
let icon = this.makeIcon ? this.makeIcon() : this.props.icon
135135
let iconPosition = this.makeIcon ? this.makeIcon(true) : this.props.iconPosition
136-
console.log('render', icon, iconPosition)
137136
return (<Input
138137
className={this.props.className}
139138
style={this.props.style}

src/app.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class App extends ReactiveComponent {
142142
<InputBond
143143
bond={this.nick}
144144
placeholder='A name for this address'
145-
validator={n => { console.log(n); return n ? addressBook().map(ss => ss.byName[n] ? null : n) : null}}
145+
validator={n => n ? addressBook().map(ss => ss.byName[n] ? null : n) : null}
146146
action={<TransformBondButton
147147
content='Add'
148148
transform={(name, account) => { addressBook().submit(account, name); return true }}

0 commit comments

Comments
 (0)