From 3c0b6fa3a9dcc00e0f31e9db077046e012f5de1c Mon Sep 17 00:00:00 2001 From: Marco Salazar Date: Tue, 19 Mar 2024 09:53:13 -0400 Subject: [PATCH] formatting --- .../packages/ui-core/src/asset-graph/AssetNode.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetNode.tsx b/js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetNode.tsx index 009c015246377..4cc61c3896a47 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetNode.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetNode.tsx @@ -371,9 +371,9 @@ const MinimalAssetNodeBox = styled.div<{ ` : ''} - ${(p) => { - if (p.$isQueued) { - return ` + ${(p) => + p.$isQueued + ? ` animation: pulse 0.5s infinite alternate; @keyframes pulse { 0% { @@ -383,10 +383,8 @@ const MinimalAssetNodeBox = styled.div<{ border-color: ${Colors.replaceAlpha(p.$border, 1)}; } } - `; - } - return ''; - }} + ` + : ''} border-radius: 16px; position: relative; padding: 2px;