fix: react-doctor async-defer-await 10→0 (move await below guards), rerender-memo-with-default-value 13→0 (module-scope EMPTY_* defaults)

This commit is contained in:
Nora
2026-06-26 06:42:08 -06:00
parent 38bd3fcbc7
commit 3d5988afd0
18 changed files with 69 additions and 25 deletions
@@ -211,10 +211,12 @@ function CheckIcon({ className }: { className?: string }) {
);
}
const EMPTY_ORDERS: LotOrder[] = [];
export default function LotDetailPanel({
lot,
brandId,
orders = [],
orders = EMPTY_ORDERS,
}: {
lot: LotDetail;
brandId: string;