-
Notifications
You must be signed in to change notification settings - Fork 44
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
Yield farming user deposit UI fix #1495
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
In the
In the
In the
This is a detailed list of issues found in the provided files. Please make the necessary corrections. |
In the file src/App.tsx:
In the file src/components/YieldFarmChainError.tsx:
In the file src/helpers/pushStaking/src/index.ts:
Overall, some typos and missing closing braces need to be corrected in the code provided. All looks good. |
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.
Switching networks pops up the metamask to change the netowrk automatically, clicking on the switch network button dosnot do anything. Is it the rigth functionality?
In the
In the
In the
Overall there are quite a few typos and missing closing characters in the files mentioned above. The logic also needs to be checked thoroughly for bugs or improvements. Please correct the identified issues and review the logic for any further optimizations. |
In the
In the
In the
File paths for Therefore, the summary of the corrections is:
After making these changes, the code should be ready for further testing. |
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, but the merge conflict needs to be fixed
@@ -81,15 +81,15 @@ const extendConsole = () => { | |||
window.console = {}; | |||
} | |||
if (window.console[level] === 'undefined' || !window.console[level] || window.console[level] === null) { | |||
window.console[level] = function () {}; | |||
window.console[level] = function () { }; |
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.
Why do we need this in the first place. Can't these be removed?
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.
I am not sure why this is present here.
} | ||
if (enabled) { | ||
if (disabledConsoles[level]) { | ||
window.console[level] = disabledConsoles[level]; | ||
} | ||
} else { | ||
disabledConsoles[level] = window.console[level]; | ||
window.console[level] = function () {}; | ||
window.console[level] = function () { }; |
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.
Same
src/primaries/Profile.tsx
Outdated
@@ -88,11 +88,11 @@ const Profile = ({ isDarkMode }) => { | |||
setShowDropdown(false); | |||
}); | |||
|
|||
const ConnectWallet = ()=>{ | |||
const ConnectWallet = () => { |
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.
const ConnectWallet = () => { | |
const handleConnectWallet = () => { |
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.
Fixed in new commit
In the
In the
In the
In the
In the No content provided for the above two files. Please make the necessary corrections based on the feedback provided above. |
Things to review: