-
Notifications
You must be signed in to change notification settings - Fork 23
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 style #313
fix style #313
Conversation
WalkthroughThis update removes support for three wallet providers from the connect button hack functionality. The code now omits the integrations for lidofi, rocketpool, and solv by deleting their import statements, function calls, and dedicated files. Additionally, the configuration file has been updated to remove an unused ledger text update and to add several new site configurations. These changes streamline the connect button logic by focusing on the remaining providers and expanding support for new wallet connection setups. Changes
Sequence Diagram(s)sequenceDiagram
participant Browser as User Browser
participant CBH as ConnectButtonHack
participant Config as SitesConfig
Browser->>CBH: Invoke connect button update
CBH->>Config: Retrieve site configuration
Config-->>CBH: Return providers (excludes lidofi, rocketpool, solv)
CBH->>Browser: Update wallet buttons for remaining providers
sequenceDiagram
participant UI as Wallet Modal UI
participant Config as SitesConfig
UI->>Config: Request configuration
Config-->>UI: Return new configuration entries
UI->>UI: Update text node ("OneKey Hardware & Phantom")
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
💤 Files with no reviewable changes (4)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Refactor