change(ui): add icons to category names for metrics

This commit is contained in:
sylenien 2022-08-17 12:40:49 +02:00
parent 8cd9d989ed
commit 2c5d5e63ae

View file

@ -19,7 +19,7 @@ const ICONS: Record<string, string | null> = {
resources: 'resources-icon',
overview: null,
custom: null,
'web vitals': 'web-vitals-icon',
'web vitals': 'web-vitals',
}
export function WidgetCategoryItem({ category, isSelected, onClick, selectedWidgetIds }: IWiProps) {