Skip to content
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

Prevent default rpc deletion #1249

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Conversation

brunobar79
Copy link
Member

@brunobar79 brunobar79 commented Dec 20, 2023

Fixes BX-1207
Figma link (if any):

What changed (plus any additional context for devs)

Default RPCs can't be deleted (mainnet and testnet)

Screen recordings / screenshots

http://recordit.co/50RpNzcXu6

What to test

return (
<Box key={`${chain.name}`} width="full">
<ContextMenu>
<ContextMenuTrigger>{menuItem}</ContextMenuTrigger>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could just pass this condition to disabled prop on ContextMenuTrigger

Copy link

Here's the packed extension for this build:
rainbowbx-ae32cf1ed46c7320fcd3cc19c52beb2a34118a76.zip

Copy link

linear bot commented Dec 20, 2023

Copy link

Here's the packed extension for this build:
rainbowbx-cbbd2a269e9626d93189afc52a1c908d9636143c.zip

@estebanmino estebanmino merged commit c5d742f into master Dec 20, 2023
17 checks passed
@estebanmino estebanmino deleted the @bruno/prevent-default-rpc-deletion branch December 20, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants