Patch up radio locking and frontend contact delete behavior for bulk contact delete

This commit is contained in:
Jack Kingsman
2026-04-01 16:52:25 -07:00
parent fd1188abcd
commit 630ba67ef0
5 changed files with 29 additions and 16 deletions
+4
View File
@@ -558,6 +558,10 @@ export function App() {
onToggleBlockedKey: handleBlockKey,
onToggleBlockedName: handleBlockName,
contacts,
onBulkDeleteContacts: (deletedKeys: string[]) => {
const keySet = new Set(deletedKeys.map((k) => k.toLowerCase()));
setContacts((prev) => prev.filter((c) => !keySet.has(c.public_key.toLowerCase())));
},
};
const crackerProps = {
packets: rawPackets,