Skip to content

refactor: remove duplicate toPascalCase implementation in project loader#1331

Open
jyotish6699 wants to merge 1 commit into
steam-bell-92:mainfrom
jyotish6699:refactor/remove-duplicate-topascalcase
Open

refactor: remove duplicate toPascalCase implementation in project loader#1331
jyotish6699 wants to merge 1 commit into
steam-bell-92:mainfrom
jyotish6699:refactor/remove-duplicate-topascalcase

Conversation

@jyotish6699

Copy link
Copy Markdown
Contributor

Summary

This PR removes the duplicate toPascalCase() implementation from web-app/js/projects.js.

The file contained two definitions of the same function. Since JavaScript uses the most recent definition, the second implementation was overriding the first one, resulting in redundant code and making maintenance more difficult.

Changes Made

  • Removed the duplicate toPascalCase() function.
  • Retained a single implementation as the source of truth.
  • Preserved existing functionality and special-case handling.

Benefits

  • Reduces code duplication.
  • Improves maintainability and readability.
  • Prevents confusion caused by multiple implementations of the same function.

Related Issue

Closes #1330

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

@jyotish6699 is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize 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.

Refactor duplicate toPascalCase implementation in project loader

1 participant