AtlasWiki / EndPointer

This is the open sourced code for the extension, EndPointer
GNU Affero General Public License v3.0
43 stars 5 forks source link

Refactor LocationItem.tsx to Avoid Code Duplication #30

Closed karthik-script closed 1 day ago

karthik-script commented 1 day ago

@AtlasWiki can you please add Labels on this for hacktoberfest-accepted? Thanks.

https://github.com/AtlasWiki/EndPointer/issues/29

Description

The file src/components/LocationItem.tsx currently contains duplicated code across different sections. To improve maintainability and readability, we need to refactor the file to eliminate these redundancies.

LordCat commented 1 day ago

Thank you for your submission @karthik-script.

The code clean up is spot on and we appricate you taking the time to assist us. I have applied the hacktober and hacktober-accepted tags as requested.

We look forward to your future contributions.

-LordCat