ajay-dhangar / ajay-dhangar.github.io

πŸ‘‹ Hi there! Welcome to my portfolio repo! I'm Ajay Dhangar, a software engineer and tech enthusiast passionate about web development, open source, and building cool stuff. Currently working at a startup and mentoring at CodeHarborHub.
https://ajay-dhangar.github.io/
MIT License
6 stars 3 forks source link

refactor: remove extra closing tags #227

Closed deepsource-autofix[bot] closed 5 months ago

deepsource-autofix[bot] commented 5 months ago

Components without children can be self-closed to avoid the unnecessary extra closing tag. In JSX, closing tags are required when the component has children example <MyComponent>...</MyComponent> and if there are no child component between these tags, then this component can be self closed using <MyComponent />. It is recommended as it improves readability, and it is more compact to use self-closing for these types of components.

sonarcloud[bot] commented 5 months ago

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

deepsource-io[bot] commented 5 months ago

Here's the code health analysis summary for commits a5d85f7..8454967. View details on DeepSource β†—.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScriptβœ… Success
🎯 8 occurences resolved
View Check β†—

πŸ’‘ If you’re a repository administrator, you can configure the quality gates from the settings.