chore: build
Omnex Plateform App - EAS Build / build (push) Successful in 1h29m50s
Omnex Plateform Client - EAS Build / build (push) Successful in 1h24m37s

This commit is contained in:
Xor290
2026-09-01 16:05:01 +02:00
parent 853407826f
commit c382244866
8 changed files with 279 additions and 302 deletions
+8 -3
View File
@@ -961,13 +961,18 @@ export const toggle2FA = async (
// 🏆 POINTS — RÉCOMPENSES
// ============================================
export type RewardConfigProduct = {
product_id: number;
product_name: string;
quantity: number;
};
export type RewardCategoryConfig = {
category: string;
type: "free_product" | "half_price_product";
all_products: boolean;
product_ids: number[];
product_names: string[];
amount: number;
products: RewardConfigProduct[];
quantity: number;
};
export type RewardItemConfig = {
@@ -830,14 +830,14 @@ export default function OrderHistoryScreen() {
</View>,
]
: (
cfg.product_names ??
cfg.products ??
[]
).map(
(
name,
p,
) => (
<View
key={`${cfg.category}-${name}`}
key={`${cfg.category}-${p.product_id}`}
style={
styles.rewardAmountBadge
}
@@ -848,7 +848,7 @@ export default function OrderHistoryScreen() {
}
>
{
name
p.product_name
}
</Text>
</View>