Prevent passing to Svelte components

This commit is contained in:
Matthew Phillips 2021-10-25 14:01:38 -04:00
parent 190e03b5ce
commit 303f32fda0

View file

@ -2,6 +2,7 @@ import SvelteWrapper from './Wrapper.svelte';
export default (target) => {
return (component, props, children) => {
delete props['class'];
try {
new SvelteWrapper({
target,