mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-04-18 17:52:22 -06:00
cleanup some stuff, add new lines
This commit is contained in:
parent
4807e07d95
commit
409cd355b5
@ -131,20 +131,14 @@ export const useBskyUserManager = () => {
|
||||
|
||||
if (actionMode === ACTION_MODE.IMPORT_LIST) {
|
||||
const userDids = filteredUsers.map(user => user.did);
|
||||
|
||||
try {
|
||||
await chrome.runtime.sendMessage({
|
||||
name: "createListAndAddUsers",
|
||||
body: {
|
||||
name: listName,
|
||||
description: "List imported from Sky Follower Bridge",
|
||||
userDids,
|
||||
},
|
||||
});
|
||||
console.log("List created and users added successfully");
|
||||
} catch (error) {
|
||||
console.error("Error creating list and adding users:", error);
|
||||
}
|
||||
await chrome.runtime.sendMessage({
|
||||
name: "createListAndAddUsers",
|
||||
body: {
|
||||
name: listName,
|
||||
description: "List imported from Sky Follower Bridge",
|
||||
userDids,
|
||||
},
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user