fix(#253): resolve all 8 ESLint warnings#260
Merged
Merged
Conversation
- Split bodymap.jsx → bodymap.js (constants/utils) + bodymap.jsx (components only) to fix 5 fast-refresh warnings; updated all 20 import sites - Moved useTheme + ThemeCtx from theme.jsx to hooks.js; theme.jsx now only exports ThemeProvider (1 fast-refresh warning) - Moved useNavHints from PageShell.jsx to hooks.js (1 fast-refresh warning) - Replaced standalone setState-in-effect useEffect in App.jsx with inline checks inside the existing Supabase auth event handlers (1 warning) - Bumped version to 1.5.14 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
f495429 to
f50c387
Compare
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-island-090dfd003-260.westeurope.7.azurestaticapps.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bodymap.jsxintobodymap.js(constants/utils) andbodymap.jsx(components only) — fixes 5 fast-refresh warnings across 20 import sitesuseTheme+ThemeCtxfromtheme.jsxtohooks.js;theme.jsxnow exports onlyThemeProvider— fixes 1 fast-refresh warninguseNavHintsfromPageShell.jsxtohooks.js— fixes 1 fast-refresh warninguseEffectinApp.jsxthat calledsetIntroOpensynchronously with inline checks in the existing Supabase auth handlers — fixes 1set-state-in-effectwarningNo logic changes. No runtime impact — bundle output is identical, context object identity is preserved.
Test plan
npm run lint→0 problems (0 errors, 0 warnings)npm test→ 92 tests passingCloses #253
🤖 Generated with Claude Code