From bd38c625464187f7f825995a706e8fe6ca87ac63 Mon Sep 17 00:00:00 2001 From: d1onys1us <13951458+d1onys1us@users.noreply.github.com> Date: Thu, 15 Jun 2023 19:54:12 +0200 Subject: [PATCH] fix(status-page): use ttko from env --- .../src/utils/buildStatusIndicators.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/status-page/src/utils/buildStatusIndicators.ts b/packages/status-page/src/utils/buildStatusIndicators.ts index 3e776f17055..ae83d2b41f2 100644 --- a/packages/status-page/src/utils/buildStatusIndicators.ts +++ b/packages/status-page/src/utils/buildStatusIndicators.ts @@ -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", },