Skip to content

Commit

Permalink
display claimed withdrawal tx in completed transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
MickWang committed Apr 23, 2024
1 parent d5962a6 commit 242137c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pages/transfers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ type RecentBridgeOperation = Transfer & {
const recentBridgeOperations = computed<RecentBridgeOperation[]>(() => {
const recent = userTransactions.value.filter(
(tx) =>
(tx.type === "withdrawal" &&
(!tx.info.completed || new Date(tx.timestamp).getTime() + WITHDRAWAL_DELAY * 2 > new Date().getTime())) ||
(tx.type === "withdrawal" && !tx.info.completed) ||
(tx.type === "deposit" &&
new Date(tx.timestamp).getTime() + getWaitTime(eraNetwork.value.l1Network?.id)[0] > new Date().getTime())
);
Expand Down

0 comments on commit 242137c

Please sign in to comment.