@@ -70,6 +70,10 @@ export async function getConditional(contracts, address) {
7070 conditionalSR.getBatches(contracts, address),
7171 ]);
7272
73+ if (commitment === null || batches === null) {
74+ return { total: 0, available: 0, withdrawn: 0, batchLimits: [] };
75+ }
76+
7377 const { total } = commitment;
7478 const withdrawLimits = await Promise.all(
7579 batches.map((_, idx) =>