-
Notifications
You must be signed in to change notification settings - Fork 40
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
fix: BX-1341 #1387
fix: BX-1341 #1387
Conversation
Here's the packed extension for this build: |
@@ -165,7 +164,7 @@ export const WatchAsset = ({ | |||
}); | |||
} | |||
|
|||
approveRequest(null); | |||
approveRequest(true); |
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.
looking at ApproveAppRequest.tsx
seems like approveRequest
and rejectRequest
send the same msg to background but if the payload is null
it considers a reject, shouldn't we solve it in that component?
I think AddEthereumChain.tsx
also calls approveRequest(null)
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.
yeah that's exactly the case, so we're sending true instead
maybe your AddEthereumChain is outdated https://github.com/rainbow-me/browser-extension/blob/master/src/entries/popup/pages/messages/AddEthereumChain/index.tsx#L79
Here's the packed extension for this build: |
Here's the packed extension for this build: |
Fixes BX-####
Figma link (if any):
What changed (plus any additional context for devs)
fixing ticket and returning true when request is accepted
#1382
Fixes #1382
Screen recordings / screenshots
What to test