fix(logistics): pass group.id instead of group object to onSelectSet

This commit is contained in:
Codex 2026-05-19 16:17:04 +03:00
parent a2196d232b
commit 140fbc8122
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ export const LogisticsReadinessBoard = ({ orderGroups = [], onSelectSet, statusO
className="w-full rounded-[24px] border border-[var(--color-border)] bg-[var(--color-surface-strong)] p-4 !text-left !text-[var(--color-text)] transition hover:bg-[var(--color-accent-soft)] sm:p-5" className="w-full rounded-[24px] border border-[var(--color-border)] bg-[var(--color-surface-strong)] p-4 !text-left !text-[var(--color-text)] transition hover:bg-[var(--color-accent-soft)] sm:p-5"
onClick={() => { onClick={() => {
if (onSelectSet) { if (onSelectSet) {
onSelectSet(group); onSelectSet(group.id);
} }
}} }}
type="button" type="button"