tangled
alpha
login
or
join now
evbogue.com
/
wiredove
1
fork
atom
a demonstration replicated social networking web app built with anproto
wiredove.net/
social
ed25519
protocols
1
fork
atom
overview
issues
pulls
pipelines
always make Delete Everything button available
Everett Bogue
9 months ago
51d784e2
7046983c
+13
-9
1 changed file
expand all
collapse all
unified
split
settings.js
+13
-9
settings.js
···
18
18
19
19
const div = h('div', {classList: 'message'}, [
20
20
textarea,
21
21
-
button
21
21
+
button,
22
22
+
deleteEverything
22
23
])
23
24
24
25
return div
···
45
46
location.reload()
46
47
}
47
48
}, ['Delete key']),
48
48
-
h('button', {
49
49
-
onclick: async () => {
50
50
-
await bogbot.clear()
51
51
-
window.location.hash = '#'
52
52
-
location.reload()
53
53
-
}
54
54
-
}, ['Delete everything'])
55
49
])
56
50
return span
57
51
}
58
52
53
53
+
const deleteEverything = h('button', {
54
54
+
onclick: async () => {
55
55
+
await bogbot.clear()
56
56
+
window.location.hash = '#'
57
57
+
location.reload()
58
58
+
}
59
59
+
}, ['Delete everything'])
60
60
+
61
61
+
59
62
//const didweb = async () => {
60
63
// const input = h('input', {placeholder: 'https://yourwebsite.com/'})
61
64
// const get = await bogbot.get('didweb')
···
90
93
//await didweb(),
91
94
//h('hr'),
92
95
h('p', ['Import Keypair']),
93
93
-
await editKey()
96
96
+
await editKey(),
97
97
+
deleteEverything
94
98
])
95
99
96
100
return div