Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
LL-2227 - Operation details - After navigating to the operation's acc…
Browse files Browse the repository at this point in the history
…ount page, when clicking "back" button you should go back to operation and not go to Accounts page (#2482)
  • Loading branch information
nparigi-ledger authored May 4, 2022
1 parent f72d961 commit 79ffe07
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/screens/OperationDetails/Content.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ export default function Content({
const onPress = useCallback(() => {
navigation.navigate(NavigatorName.Accounts, {
screen: ScreenName.Account,
initial: false,
// Set to false so it still adds `Accounts` as the previous route in the stack history
// even if you're targeting another navigation stack from your current one
params: {
accountId: account.id,
parentId: parentAccount?.id,
Expand Down

0 comments on commit 79ffe07

Please sign in to comment.