Skip to content

fix react-hooks violations in settings and unlock pages - #72

Merged
keshav0479 merged 1 commit into
mainfrom
fix/react-hooks-violations
Jul 26, 2026
Merged

fix react-hooks violations in settings and unlock pages#72
keshav0479 merged 1 commit into
mainfrom
fix/react-hooks-violations

Conversation

@keshav0479

Copy link
Copy Markdown
Owner

Fixes the four react-hooks errors that eslint-plugin-react-hooks 7.1.1 reports - the version arriving with #70. Two setState-in-effect cases in SettingsPage, a memo dependency in UnlockPage, and the invoice resume logic lifted out of its effect.

No behavior change. Settings paths verified in the browser, and the Lightning invoice resume-after-refresh flow tested end to end with a real payment.

#70 goes green once this lands.

@keshav0479
keshav0479 merged commit a10dc2a into main Jul 26, 2026
1 check passed
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