From af214b8dab1aa40276eac7782363e88106994ed0 Mon Sep 17 00:00:00 2001 From: Salih Altun Date: Thu, 30 May 2024 22:22:25 +0300 Subject: [PATCH] Update timed_out text to timed out (#396) --- skyvern-frontend/src/components/StatusBadge.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skyvern-frontend/src/components/StatusBadge.tsx b/skyvern-frontend/src/components/StatusBadge.tsx index 31e2131f..201c2b16 100644 --- a/skyvern-frontend/src/components/StatusBadge.tsx +++ b/skyvern-frontend/src/components/StatusBadge.tsx @@ -19,7 +19,9 @@ function StatusBadge({ status }: Props) { variant = "warning"; } - return {status}; + const statusText = status === "timed_out" ? "timed out" : status; + + return {statusText}; } export { StatusBadge };