Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix code style issues reported by sonar #4

Merged
merged 17 commits into from
Oct 11, 2024
Merged

fix code style issues reported by sonar #4

merged 17 commits into from
Oct 11, 2024

Conversation

cnkang
Copy link
Owner

@cnkang cnkang commented Oct 11, 2024

No description provided.

Copy link

vercel bot commented Oct 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sudoku ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 11, 2024 8:42am

…erInput` array using `map` for better state immutability and to prevent side effects.

- Extracted error handling into a reusable `handleError` function to reduce redundant code in multiple `try-catch` blocks.
- Optimized `fetchPuzzle` function using `useCallback` to prevent unnecessary re-creation of the function on state changes.
- Adjusted JSX structure to avoid ambiguous spacing issues and ensure proper label and select element alignment.
- Minor performance optimizations and code cleanup to improve readability and maintainability.
Copy link

sonarqubecloud bot commented Oct 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@cnkang cnkang merged commit 9ca8532 into main Oct 11, 2024
14 checks passed
@cnkang cnkang deleted the dev branch October 11, 2024 08:43
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