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

Maintained unused code in a separate file. #169

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

rcAsironman
Copy link
Collaborator

What was removed?
I removed the UnUsed and commented-out code and moved it to a separate file (UnUsedCode.tsx).

why was it removed?
It was removed to maintain clean code in the main branch.

How was it removed?
I removed the commented-out and unused code from each file, then created a separate file named UnUsedCode.tsx, where I kept all the information related to that piece of code, including file names, line numbers (start - end), and proper comments.

@@ -18,3 +18,6 @@ grounded-*
# macOS
.DS_Store
yarn.lock

# Ignore unused code file
UnUsedCode.tsx

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't keep UnUsedCode, if it's unused, just remove it (from your clone of the repo and from .gitignore).
I like the idea of cleaning up the unused code by deleting it. Thanks for keeping things clean.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, Dr. Holdener, I will remove it.

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.

2 participants