hyperswitch-web icon indicating copy to clipboard operation
hyperswitch-web copied to clipboard

refactor: General cleanup - remove deprecated logic, improve naming consistency, and add inline documentation

Open ritoban23 opened this issue 2 months ago • 2 comments

Type of Change

  • [ ] Bugfix
  • [ ] New feature
  • [ ] Enhancement
  • [x] Refactoring
  • [ ] Dependency updates
  • [x] Documentation
  • [ ] CI/CD

Description

General cleanup to remove deprecated logic, improve naming consistency, and add inline documentation:

  • Fixed spelling: ErrorOccuredErrorOccurred (component name)
  • Fixed spelling: broswerInfobrowserInfo (function name)
  • Fixed spelling: atleastat least (warning messages)
  • Fixed variable name: puseduoArrpseudoArr
  • Removed debug console logs from PaymentMethodCollectElement.res
  • Improved TODO comments with clearer descriptions
  • Added inline documentation for constructClass function

fixes #1157

How did you test it?

  • Verified no compilation errors after changes
  • Confirmed all references to old misspelled component were updated

Checklist

  • [x] I ran npm run re:build
  • [x] I reviewed submitted code
  • [ ] I added unit tests for my changes where possible

ritoban23 avatar Oct 18 '25 14:10 ritoban23

Review changes with  SemanticDiff

semanticdiff-com[bot] avatar Oct 18 '25 14:10 semanticdiff-com[bot]

Hey @ritoban23 , Thank you for your contribution! Please fill this form: Link

AbhishekChorotiya avatar Oct 31 '25 11:10 AbhishekChorotiya