Skip to content

fix(frontend): handle Casino load failure gracefully - #353

Merged
AlieNiT merged 1 commit into
mainfrom
fix/casino-graceful-empty-state
Jul 8, 2026
Merged

fix(frontend): handle Casino load failure gracefully#353
AlieNiT merged 1 commit into
mainfrom
fix/casino-graceful-empty-state

Conversation

@AlieNiT

@AlieNiT AlieNiT commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

When investCheck() threw (e.g. production API error), Casino.vue rendered a blank modal because there was no fallback branch after the loading and checkResult conditions. Add a loadError state with a friendly message and a retry button so the stock market modal never opens empty.

When investCheck() threw (e.g. production API error), Casino.vue
rendered a blank modal because there was no fallback branch after the
loading and checkResult conditions. Add a loadError state with a
friendly message and a retry button so the stock market modal never
opens empty.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@AlieNiT
AlieNiT merged commit da4bdb1 into main Jul 8, 2026
1 check passed
@AlieNiT
AlieNiT deleted the fix/casino-graceful-empty-state branch July 8, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant