Skip to content

Commit a98fa1d

Browse files
author
farfromrefuge
committed
chore: cleanup
1 parent 0e475a2 commit a98fa1d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/collectionview/svelte/index.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ class SvelteKeyedTemplate {
3838
// it will trigger uncessary {N} component updates because the parent view is already attached
3939

4040
(nativeEl as any).__SvelteComponentBuilder__ = (parentView, props) => {
41-
profile('createView.__SvelteComponentBuilder__', () => {
42-
(nativeEl as any).__SvelteComponent__ = new this.component({
43-
target: parentView,
44-
props
45-
});
46-
})();
41+
(nativeEl as any).__SvelteComponent__ = new this.component({
42+
target: parentView,
43+
props
44+
});
4745
};
4846
return nativeEl;
4947
}

0 commit comments

Comments
 (0)