Kevin-Kwan / kevin-kwan.github.io

My mobile-responsive, customizable personal portfolio website made using React, Next.js and Tailwind CSS to showcase your resume, education, programming skills, experience, and projects. Includes modular pages, easy-to-use components, and working contact form.
https://kevin-kwan.tech
4 stars 4 forks source link

refactor: remove extra closing tags #4

Closed deepsource-autofix[bot] closed 9 months ago

deepsource-autofix[bot] commented 9 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.

cloudflare-workers-and-pages[bot] commented 9 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: cb15097
Status:⚡️  Build in progress...

View logs