hyperswitch-web
hyperswitch-web copied to clipboard
refactor: General cleanup - remove deprecated logic, improve naming consistency, and add inline documentation
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:
ErrorOccured→ErrorOccurred(component name) - Fixed spelling:
broswerInfo→browserInfo(function name) - Fixed spelling:
atleast→at least(warning messages) - Fixed variable name:
puseduoArr→pseudoArr - Removed debug console logs from
PaymentMethodCollectElement.res - Improved TODO comments with clearer descriptions
- Added inline documentation for
constructClassfunction
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
Hey @ritoban23 , Thank you for your contribution! Please fill this form: Link