Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit 8e4d2a0

Browse files
authored
Refactor: overwrite the queue instead of merging + use txId for deep links (#3751)
* Refactor: overwrite the queue instead of merging * Fix: when only "next" txns are in queue * Update tests * PR comments (thanks Aaron) * Search for a specific Queued label instead of last label * More PR comments * Fix: never add singular txns to History * Display pending txns as history * Use tx id for deep links * Cache fetchTxDetails * Move fallback to hook
1 parent 5fb1540 commit 8e4d2a0

File tree

13 files changed

+133
-765
lines changed

13 files changed

+133
-765
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"@gnosis.pm/safe-core-sdk": "^2.0.0",
9090
"@gnosis.pm/safe-deployments": "^1.8.0",
9191
"@gnosis.pm/safe-react-components": "^1.1.2",
92-
"@gnosis.pm/safe-react-gateway-sdk": "^2.10.1",
92+
"@gnosis.pm/safe-react-gateway-sdk": "^2.10.2",
9393
"@gnosis.pm/safe-web3-lib": "^1.0.0",
9494
"@material-ui/core": "^4.12.3",
9595
"@material-ui/icons": "^4.11.0",

src/logic/safe/store/actions/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const navigateToTx = (safeAddress: string, txDetails: TransactionDetails)
139139
const prefixedSafeAddress = getPrefixedSafeAddressSlug({ shortName: extractShortChainName(), safeAddress })
140140
const txRoute = generatePath(SAFE_ROUTES.TRANSACTIONS_SINGULAR, {
141141
[SAFE_ADDRESS_SLUG]: prefixedSafeAddress,
142-
[TRANSACTION_ID_SLUG]: txDetails.detailedExecutionInfo.safeTxHash,
142+
[TRANSACTION_ID_SLUG]: txDetails.txId,
143143
})
144144

145145
history.push(txRoute)

0 commit comments

Comments
 (0)