We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 024ed2d commit 66ba33dCopy full SHA for 66ba33d
apps/namadillo/src/atoms/notifications/functions.ts
@@ -11,11 +11,9 @@ export const createNotificationId = (
11
if (Array.isArray(data)) {
12
return data
13
.map((tx) => {
14
- if ("innerTxHashes" in tx && Array.isArray(tx.innerTxHashes)) {
+ if (tx.hash) return tx.hash;
15
+ else if ("innerTxHashes" in tx && Array.isArray(tx.innerTxHashes))
16
return tx.innerTxHashes.join(notificationIdSeparator);
- } else {
17
- return tx.hash;
18
- }
19
})
20
.join(notificationIdSeparator);
21
}
0 commit comments