-
Notifications
You must be signed in to change notification settings - Fork 17
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
Adding Support For Multiple Note Accounts #1731
Conversation
…hods on webb provider
…o get vanchor instance
✅ Deploy Preview for hubble-stats ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for bridge-dapp development is ready! Thanks for the contribution @AtelyPham
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for bridge-dapp development is ready! Thanks for the contribution @AtelyPham
To edit notification comments on pull requests, go to your Netlify site settings. |
useEffect(() => { | ||
let isSubscribed = true; | ||
|
||
async function getStorageSize() { |
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.
We can use try/catch block here and also show an alert when the error is caught.
// Disconnect function | ||
// TODO: The disconnect function does not work properly | ||
const handleDisconnect = useCallback(async () => { | ||
if (currentManagedWallet && currentManagedWallet.canEndSession) { |
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.
Consider implementing try/catch blocks within this and subsequent asynchronous functions to enhance error handling. Additionally, utilizing alerts to display messages in the UI can improve user experience by providing informative feedback.
✅ Deploy Preview for bridge-dapp development is ready! Thanks for the contribution @AtelyPham
To edit notification comments on pull requests, go to your Netlify site settings. |
All requested changes have been addressed. I am going to merge this PR. |
Summary of changes
Provide a detailed description of proposed changes.
Proposed area of change
Put an
x
in the boxes that apply.apps/bridge-dapp
apps/hubble-stats
apps/stats-dapp
apps/webbsite
apps/faucet
apps/tangle-website
libs/webb-ui-components
Reference issue to close (if applicable)
Specify any issues that can be closed from these changes (e.g. Closes #233).
Screen Recording
If possible provide a screen recording of proposed change.
Switching note account when switching account from a third-party wallet
CleanShot.2023-10-03.at.04.51.10.mp4
The encrypted notes are updated based on the active note account
CleanShot.2023-10-03.at.04.58.59.mp4
Code Checklist
Please be sure to add .stories documentation if any additions are made to
libs/webb-ui-components
.