From 28f26cc5f30b7475f86912eb57362b75230bd8e9 Mon Sep 17 00:00:00 2001 From: anti Date: Thu, 21 May 2026 15:23:33 -0400 Subject: [PATCH] fix(ui): replace info-banner empty state in BehaviouralPrimitivesPanel with EmptyState --- .../behaviour/BehaviouralPrimitivesPanel.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/decnet_web/src/components/AttackerDetail/behaviour/BehaviouralPrimitivesPanel.tsx b/decnet_web/src/components/AttackerDetail/behaviour/BehaviouralPrimitivesPanel.tsx index 34699df0..fe12f28e 100644 --- a/decnet_web/src/components/AttackerDetail/behaviour/BehaviouralPrimitivesPanel.tsx +++ b/decnet_web/src/components/AttackerDetail/behaviour/BehaviouralPrimitivesPanel.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import EmptyState from '../../EmptyState/EmptyState'; import { Activity } from '../../../icons'; import type { AttributionPrimitiveState, BehaviouralObservation } from '../types'; import { AttributionBadge } from './pieces'; @@ -13,8 +14,12 @@ export const BehaviouralPrimitivesPanel: React.FC<{ }> = ({ observations, attribution }) => { if (!observations.length) { return ( -
- No behavioural observations yet — the profiler runs once a session ends. +
+
); }