Skip to content

Commit

Permalink
🩹 [FIX]: Extra device action at the end of the remove member flow on …
Browse files Browse the repository at this point in the history
…LLM (#7748)

* Fix extra device action at the end of the remove member flow

* Update change log

---------

Co-authored-by: Theophile Sandoz <Theophile Sandoz>
  • Loading branch information
thesan authored Sep 4, 2024
1 parent a58fdb4 commit f34dd22
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-masks-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Fix extra device action at the end of the remove member flow
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function useFollowInstructionDrawer(

useEffect(() => {
run(setScene);
}, [...deps]); // eslint-disable-line react-hooks/exhaustive-deps
}, deps); // eslint-disable-line react-hooks/exhaustive-deps

return { scene, retry, goToDelete, backToKeyError, confirmDeleteKey };
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ export function useRemoveMember({ device, member }: Props): DrawerProps {
}
}
},
[member, device, memberCredentials, sdk, transitionToNextScreen, trustchain],
[device, member, memberCredentials, sdk, transitionToNextScreen, !trustchain],
);
}

0 comments on commit f34dd22

Please sign in to comment.