-
Notifications
You must be signed in to change notification settings - Fork 1
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
Native token transaction UI and functionality #7
base: develop
Are you sure you want to change the base?
Conversation
src/utils/index.tsx
Outdated
return testnetChain.explorerUrl; | ||
} | ||
|
||
return undefined; |
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.
Use null instead of undefined
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.
Changes done
src/context/AuthContext.tsx
Outdated
@@ -138,22 +166,33 @@ export const AuthContextProvider = ({ children }: PropsWithChildren) => { | |||
// Function to connect MetaMask | |||
const connectMetaMask = async () => { | |||
setIsConnecting(true); | |||
if (!window.ethereum) { | |||
console.warn('MetaMask is not installed or not accessible.'); |
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.
Remove all unnecessary console.
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.
Changes done
https://linear.app/pillarproject/issue/PRO-2185/wallet-ui-send-native-asset
Description
How Has This Been Tested?
Screenshots (if appropriate):
screen-capture.9.webm
Types of changes