Skip to content

chore: update onClick for button and link with mitosis plugin #4392

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

Merged

Conversation

nmerget
Copy link
Collaborator

@nmerget nmerget commented Jun 18, 2025

Proposed changes

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (fix on existing components or architectural decisions)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Further comments

@nmerget nmerget requested a review from mfranzke as a code owner June 18, 2025 08:17
Copy link
Contributor

@nmerget nmerget merged commit 23c91e4 into fix-button-click-double-call Jun 18, 2025
22 of 48 checks passed
@nmerget nmerget deleted the fix-button-click-double-call-2 branch June 18, 2025 12:19
console.log(json.name);
if (['DBButton', 'DBLink'].includes(json.name)) {
if (json.pluginData.target === 'vue') {
console.log(json.state);
Copy link
Collaborator

Choose a reason for hiding this comment

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

@nmerget should this console.log remain in there?

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.

3 participants