@devrongx/games 0.4.14 → 0.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -172,6 +172,12 @@ export const PreMatchBetsPopup = ({ poolId, matchId: _matchId, match: matchProp
|
|
|
172
172
|
setBets(restored);
|
|
173
173
|
if (answeredCount >= 5) {
|
|
174
174
|
// 5+ questions answered — skip straight to game screen
|
|
175
|
+
// Expand cards that have no amount set so the picker is visible
|
|
176
|
+
const pickers: Record<number, number> = {};
|
|
177
|
+
for (const [mIdxStr, entry] of Object.entries(restored)) {
|
|
178
|
+
if (entry.amount === 0) pickers[Number(mIdxStr)] = entry.optionIdx;
|
|
179
|
+
}
|
|
180
|
+
setExpandedPicker(pickers);
|
|
175
181
|
setUserFlowState("game");
|
|
176
182
|
} else {
|
|
177
183
|
// Partial — restore into questions at the first unanswered question
|