Skip to content

Conversation

@jduffey
Copy link
Owner

@jduffey jduffey commented Jul 6, 2025

No description provided.

jduffey added 3 commits July 5, 2025 22:51
…intervals, JSX, and stale state

- Fix infinite update loop in CompletionsCounter by removing completionsCount from useEffect dependencies
- Fix formattedChainNumber to display 0 values correctly in PlayerInfo, HouseInfo, and CompletionsCounter
- Fix invalid JSX <br /> tags in PlayerInfo and HouseInfo
- Fix stale state bug in SpinButton by computing display flag locally
- Remove duplicate value in NumberHitGameCounter outline breakpoints
- Rewrite simulatePlayingGame.js to use a single interval and proper cleanup, preventing runaway timers and memory leaks

All changes address issues documented in ROULETTE_BUGS.md and improve performance, user experience, and code quality.
- Remove unused state variable that was left over from refactoring
- Fixes ESLint no-unused-vars warning
- Component logic remains unchanged, just cleaner code
@jduffey jduffey merged commit 8fd7f36 into main Jul 7, 2025
1 check passed
@jduffey jduffey deleted the roulette-bugs-galore branch July 7, 2025 00:31
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.

2 participants