From 4ec6b2f794ece23b97041ed732fd089affb170d7 Mon Sep 17 00:00:00 2001 From: Rafael Taranto Date: Mon, 12 May 2025 09:31:57 +0100 Subject: [PATCH] fix: text color for alternate actionButtons --- new-lamassu-admin/src/components/buttons/ActionButton.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new-lamassu-admin/src/components/buttons/ActionButton.jsx b/new-lamassu-admin/src/components/buttons/ActionButton.jsx index 2ca01f6e..43666387 100644 --- a/new-lamassu-admin/src/components/buttons/ActionButton.jsx +++ b/new-lamassu-admin/src/components/buttons/ActionButton.jsx @@ -16,7 +16,7 @@ const ActionButton = memo( }) => { const classNames = { [moduleStyles.actionButton]: true, - [moduleStyles.altText]: altTextColor, + [moduleStyles.altText]: altTextColor || color !== 'primary', [moduleStyles.primary]: color === 'primary', [moduleStyles.secondary]: color === 'secondary', [moduleStyles.spring]: color === 'spring',