Skip to content
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: for non-components show text "View element code" on right click #260

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

sidmohanty11
Copy link
Contributor

@sidmohanty11 sidmohanty11 commented Aug 31, 2024

Description

When we select a component we have the instance information but when we select any non-components it's undefined, used that logic to differentiate between elements and components.

Screenshot 2024-08-31 at 6 06 37 PM Screenshot 2024-08-31 at 6 07 17 PM

What is the purpose of this pull request?

  • New feature
  • Documentation update
  • Bug fix
  • Refactor
  • Release
  • Other

Fixes #251

Copy link
Contributor

@Kitenite Kitenite left a comment

Choose a reason for hiding this comment

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

Awesome work!

@Kitenite Kitenite merged commit edbde5c into onlook-dev:main Aug 31, 2024
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.

[Bug] Copy for Right-Click Menu for non-Components
2 participants