From f32bcb79fc59aba68403b4f50a1c8d52772b17c1 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 7 May 2024 14:31:21 -0700 Subject: [PATCH] Added comment for default color --- Client/src/Components/Label/StautsLabel.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/Client/src/Components/Label/StautsLabel.jsx b/Client/src/Components/Label/StautsLabel.jsx index 19423d838..108ca0f2f 100644 --- a/Client/src/Components/Label/StautsLabel.jsx +++ b/Client/src/Components/Label/StautsLabel.jsx @@ -23,6 +23,7 @@ const StatusLabel = ({ status }) => { Active: theme.palette.labelGreen.color, }; + // Look up the color for the status, default to labelGray if not found const color = colorLookup[status] || theme.palette.labelGray.color; return (