Skip to content

Commit

Permalink
fix(status-page): use ttko from env
Browse files Browse the repository at this point in the history
  • Loading branch information
dionysuzx committed Jun 15, 2023
1 parent 9481f66 commit bd38c62
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions packages/status-page/src/utils/buildStatusIndicators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,14 @@ export async function buildStatusIndicators(
header: "ETH Deposits",
intervalInMs: 20000,
colorFunc: (value: Status) => {
if (BigNumber.from(value).eq(0)) {
return "green";
} else if (BigNumber.from(value).lt(32)) {
return "yellow";
} else {
return "red";
}
// if (BigNumber.from(value).eq(0)) {
// return "green";
// } else if (BigNumber.from(value).lt(32)) {
// return "yellow";
// } else {
// return "red";
// }
return "green";
},
tooltip: "The number of pending ETH deposits for L1 => L2",
},
Expand Down

0 comments on commit bd38c62

Please sign in to comment.