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 #266

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.

deepsource-io[bot] commented 5 months ago

Here's the code health analysis summary for commits cd3569d..0149b4f. View details on DeepSource β†—.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScriptβœ… Success
🎯 1 occurence resolved
View Check β†—

πŸ’‘ If you’re a repository administrator, you can configure the quality gates from the settings.
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