ssb: Remove the react confirmation dialog.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 26m34s

This commit is contained in:
2025-01-15 12:34:02 -05:00
parent 6eec142499
commit 364e95698e
3 changed files with 13 additions and 33 deletions

View File

@ -268,16 +268,6 @@ class TfElement extends LitElement {
}
}
async create_identity() {
if (confirm('Are you sure you want to create a new identity?')) {
await tfrpc.rpc.createIdentity();
this.ids = (await tfrpc.rpc.getIdentities()) || [];
if (this.ids && !this.whoami) {
this.whoami = this.ids[0];
}
}
}
async get_latest_private(following) {
const k_version = 1;
// { "version": 1, "range": [1234, 5678], messages: [ "%1.sha256", "%2.sha256", ... ], latest: rowid }