diff --git a/app/frontend/src/features/workspace/canvas/nodes.tsx b/app/frontend/src/features/workspace/canvas/nodes.tsx
index 6ea6627..e5ee315 100644
--- a/app/frontend/src/features/workspace/canvas/nodes.tsx
+++ b/app/frontend/src/features/workspace/canvas/nodes.tsx
@@ -56,9 +56,13 @@ function statusLabel(status: string): string {
}
}
+function ServiceTypeIcon({ type, size = 18 }: { type: string; size?: number }) {
+ const Icon = serviceTypeIcon(type);
+ return ;
+}
+
export function ServiceNode({ data }: NodeProps) {
const { service, selected } = data;
- const Icon = serviceTypeIcon(service.type);
const typeColor = serviceTypeColor(service.type);
const isRunning = service.status === 'running';
const replicas = service.replicas ?? 0;
@@ -99,7 +103,7 @@ export function ServiceNode({ data }: NodeProps) {
color: selected ? 'white' : typeColor,
}}
>
-
+
{service.name}