From 3886c7bcbd99bf546cfef9ad61e99ab1119776ce Mon Sep 17 00:00:00 2001 From: vikingowl Date: Sun, 4 May 2025 22:19:06 +0200 Subject: [PATCH] Refactor StatItem to use required color prop without defaults Replaced optional `color` prop with a required one and removed default value handling. Simplified template binding by directly applying inline styles for color. This improves clarity and ensures consistent color usage. --- .../src/components/MainNav/BuildStats/StatItem.vue | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/MainNav/BuildStats/StatItem.vue b/frontend/src/components/MainNav/BuildStats/StatItem.vue index a31cb42..e8e1449 100644 --- a/frontend/src/components/MainNav/BuildStats/StatItem.vue +++ b/frontend/src/components/MainNav/BuildStats/StatItem.vue @@ -1,18 +1,13 @@