-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat: [GSW-1975] SwapState Loading & Insufficient Liquidity #587
base: develop
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Refactor this getter to return a value. Getters and setters should access the expected fields typescript:S4275 Software qualities impacted: Reliability
Provide a compare function to avoid sorting elements alphabetically. "Array.prototype.sort()" and "Array.prototype.toSorted()" should use a compare function typescript:S2871 Software qualities impacted: Reliability
Fix SonarQube issue by removing direct .sort() comparison in test assertions
Remove this duplicated type or replace with another one. Union and intersection types should not include duplicated constituents typescript:S4621 Software qualities impacted: Maintainability
Refactor this redundant 'await' on a non-promise. "await" should only be used with promises typescript:S4123 Software qualities impacted: Maintainability
Move this "default" clause to the end of this "switch" statement. "default" clauses should be last typescript:S4524 Software qualities impacted: Maintainability
Refactor this function to reduce its Cognitive Complexity from 60 to the 15 allowed. Cognitive Complexity of functions should not be too high typescript:S3776 Software qualities impacted: Maintainability
Refactor this function to reduce its Cognitive Complexity from 60 to the 15 allowed. Cognitive Complexity of functions should not be too high typescript:S3776 Software qualities impacted: Maintainability
Refactor this function to reduce its Cognitive Complexity from 60 to the 15 allowed. Cognitive Complexity of functions should not be too high typescript:S3776 Software qualities impacted: Maintainability
Make sure not using "noopener" is safe here. Authorizing an opened window to access back to the originating window is security-sensitivetypescript:S5148
… operator Extract this nested ternary operation into an independent statement. Ternary operators should not be nested typescript:S3358 Software qualities impacted: Maintainability
d1f04b0
to
2efe011
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. left some comments
- Simplify array concatenation using spread operator and join - Keep null/zero amount check for preventing unnecessary API calls - Maintain proper handling of decimal input cases (0 -> 0.1 -> 0.12)
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Description
Details
-Implement estimatedLiquidityMax-based fetch control