fix editing

This commit is contained in:
Hailey
2024-06-19 17:49:10 -07:00
parent 5b57cb31f3
commit 5e28d6f67f
+2 -3
View File
@@ -165,9 +165,8 @@ export function useEditStarterPackMutation({
const removedItems = currentListItems.filter(
i =>
!profiles.find(
p => p.did === i.subject.did && p.did !== agent.session!.did,
),
i.subject.did !== agent.session?.did &&
!profiles.find(p => p.did === i.subject.did && p.did),
)
if (removedItems.length !== 0) {