chore: build
This commit is contained in:
@@ -317,18 +317,16 @@ function ConsultationHistorique() {
|
||||
</div>
|
||||
{pool.eligible_configs.length > 0 && (
|
||||
<div className="reward-eligible-cats">
|
||||
{pool.eligible_configs.map((cfg) =>
|
||||
cfg.all_products ? (
|
||||
<span key={cfg.category} className="reward-eligible-cat">
|
||||
{pool.eligible_configs.flatMap((cfg) =>
|
||||
cfg.all_products
|
||||
? [<span key={cfg.category} className="reward-eligible-cat">
|
||||
{cfg.category}{cfg.amount > 0 ? ` — ${cfg.amount}€` : ""}
|
||||
</span>
|
||||
) : (
|
||||
cfg.product_names.map((name) => (
|
||||
<span key={name} className="reward-eligible-cat">
|
||||
</span>]
|
||||
: (cfg.product_names ?? []).map((name) => (
|
||||
<span key={`${cfg.category}-${name}`} className="reward-eligible-cat">
|
||||
{name}
|
||||
</span>
|
||||
))
|
||||
)
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user