Skip to content

Refactor getProject into a function and log project names #1102

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Santhi025
Copy link

@Santhi025 Santhi025 commented Jul 19, 2025

πŸ› οΈ Fixes Issue (Number)

πŸ‘¨β€πŸ’» Changes proposed

  • Refactored the inline fetch() call into a reusable named function getProject().
  • Added a forEach loop to log each project's name in the console for easier debugging.
  • Improved code readability and modularity.

βœ… Check List

  • You have linked this PR to the correct issue.
  • My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
  • This PR does not contain plagiarized content.
  • My Addition/Changes work properly and match the overall repo pattern.
  • The title of my pull request is a short description of the requested changes.

πŸ“„ Note to reviewers

This PR contains a small refactor for better code structure. No UI or logic changes that affect functionality.

πŸ“· Screenshots

Not applicable (code-only change).

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.

1 participant