mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 23:05:46 +00:00
refactor(FE): Fix formatting for array dependencies and className
conditions
This commit is contained in:
@@ -234,7 +234,11 @@ const MarketingTable = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
}, [tableFilterState.product_ids, tableFilterState.status, tableFilterState.customer_id]);
|
}, [
|
||||||
|
tableFilterState.product_ids,
|
||||||
|
tableFilterState.status,
|
||||||
|
tableFilterState.customer_id,
|
||||||
|
]);
|
||||||
|
|
||||||
const approveClickHandler = () => {
|
const approveClickHandler = () => {
|
||||||
setApproveAction('APPROVED');
|
setApproveAction('APPROVED');
|
||||||
@@ -593,7 +597,8 @@ const MarketingTable = () => {
|
|||||||
className={cn(
|
className={cn(
|
||||||
'px-3 py-2.5 gap-1.5 text-sm text-base-content/50 border border-base-content/10 rounded-xl shadow-button-soft transition-all',
|
'px-3 py-2.5 gap-1.5 text-sm text-base-content/50 border border-base-content/10 rounded-xl shadow-button-soft transition-all',
|
||||||
{
|
{
|
||||||
'border-primary-gradient text-primary': activeFiltersCount > 0,
|
'border-primary-gradient text-primary':
|
||||||
|
activeFiltersCount > 0,
|
||||||
}
|
}
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user