Prevent passing to Svelte components
This commit is contained in:
parent
190e03b5ce
commit
303f32fda0
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ import SvelteWrapper from './Wrapper.svelte';
|
|||
|
||||
export default (target) => {
|
||||
return (component, props, children) => {
|
||||
delete props['class'];
|
||||
try {
|
||||
new SvelteWrapper({
|
||||
target,
|
||||
|
|
Loading…
Reference in a new issue