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

Svelte Example: remove wrong type="context" tag #2240

Merged
merged 1 commit into from
Dec 6, 2021
Merged

Svelte Example: remove wrong type="context" tag #2240

merged 1 commit into from
Dec 6, 2021

Conversation

duruer
Copy link
Contributor

@duruer duruer commented Dec 6, 2021

This example doesn't compile because in Svelte 3 there is no type="context", there is only context="module". Even if you use context="module" it is supposed to give an error because there is no onMount and onDestroy in module context. Removing this tag from the Script element will fix the issue.

This example doesn't compile because in Svelte 3 there is no `type="context"`, there is only `context="module". Even if you use `context="module"` it is supposed to give an error because there is no `onMount` and `onDestroy` in module context.  Removing this tag from the Script element will fix the issue.
@netlify
Copy link

netlify bot commented Dec 6, 2021

✔️ Deploy Preview for tiptap-embed ready!

🔨 Explore the source changes: 72316a1

🔍 Inspect the deploy log: https://app.netlify.com/sites/tiptap-embed/deploys/61ae724da2fb900008d14222

😎 Browse the preview: https://deploy-preview-2240--tiptap-embed.netlify.app

@philippkuehn philippkuehn merged commit f0b363c into ueberdosis:main Dec 6, 2021
@philippkuehn
Copy link
Contributor

thanks!

@duruer duruer deleted the patch-1 branch December 6, 2021 21:04
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.

2 participants