Skip to content

Conversation

sky-coderay
Copy link
Contributor

@sky-coderay sky-coderay commented Oct 14, 2025

Remove the unnecessary useState/useEffect pair in CardSection and rely directly on colorMode, avoiding redundant state updates.


Note

Remove redundant theme state in CardSection by using colorMode directly and deleting the useState/useEffect pair.

Written by Cursor Bugbot for commit 4e52395. This will update automatically on new commits. Configure here.

@sky-coderay sky-coderay requested review from a team as code owners October 14, 2025 07:51
Copy link

vercel bot commented Oct 14, 2025

@sky-coderay is attempting to deploy a commit to the Consensys Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Oct 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
metamask-docs Ready Ready Preview Comment Oct 14, 2025 7:40pm

@alexandratran alexandratran merged commit e97b1c9 into MetaMask:main Oct 14, 2025
18 checks passed
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