-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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: mev toggle display logic #11061
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
7 Skipped Deployments
|
PR-Codex overview
This PR enhances the
useIsMEVEnabled
hook by adding theisMEVProtectAvailable
property and updates theuseShouldShowMEVToggle
hook to incorporate this new property in its return condition.Detailed summary
isMEVProtectAvailable
to the return object of theuseIsMEVEnabled
hook.useShouldShowMEVToggle
to includeisMEVProtectAvailable
in its return condition.