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

Attributes need to be unique #134

Closed
ermincelikovic opened this issue Feb 12, 2020 · 3 comments · Fixed by #135
Closed

Attributes need to be unique #134

ermincelikovic opened this issue Feb 12, 2020 · 3 comments · Fixed by #135
Assignees
Labels
bug Something isn't working

Comments

@ermincelikovic
Copy link

I'm running into an error when using anything that touches SkeletonText component:
$ (plugin svelte) ParseError: Attributes need to be unique

/src/components/SkeletonText/SkeletonText.svelte

...
  <p
    on:click
    on:mouseover
    on:mouseenter
    on:mouseleave
    class={cx('--skeleton__text', heading && '--skeleton__heading', className)}
    style={`width: ${width};`}
    {style} />

There are basically two "style" props.

@metonym metonym self-assigned this Feb 12, 2020
@metonym metonym added the bug Something isn't working label Feb 12, 2020
@metonym
Copy link
Collaborator

metonym commented Feb 12, 2020

@ermincelikovic Thank you for raising this issue. Will investigate.

@ermincelikovic
Copy link
Author

@metonym I would suspect that this became an issue since svelte 3.18.2
See sveltejs/svelte@5076613

@metonym
Copy link
Collaborator

metonym commented Feb 12, 2020

@ermincelikovic Nice catch.

Fixed and released in v0.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants