-
-
Notifications
You must be signed in to change notification settings - Fork 364
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: remove prevent default event from function #6891
Conversation
✅ Deploy Preview for koda-canary ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
AI-Generated Summary: This pull request introduces a minor change in the "SearchLanding.vue" component of the landing page. The function 'switchChain' no longer prevents the default event. The 'preventDefault' method call has been removed from the function definition, which makes the event behavior consistent with the default browser behavior. |
Code Climate has analyzed commit c413ae2 and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
pay 30 usd |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type
Context
Did your issue had any of the "$" label on it?
Comments
Suggestion was committed in #6844 but also required an update to the switchChain function.
Copilot Summary
🤖 Generated by Copilot at 29909f8
Refactored the
switchChain
function inSearchLanding.vue
to use av-model
binding instead of aclick
event. This simplifies the code and avoids unnecessary calls toevent.preventDefault()
.🤖 Generated by Copilot at 29909f8