- Move billStates calculation into useState lazy initializer to prevent recalculation on re-renders - Initialize allPaidMode based on billStates to reflect actual data state - Use lazy initialization pattern for better performance - Remove intermediate variables to simplify code 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
6.3 KiB
6.3 KiB