Skip to content

Commit 518af61

Browse files
committed
Update (no-side-effects).tsx
1 parent 2406eb5 commit 518af61

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎apps/tests/src/routes/treeshaking/(no-side-effects).tsx‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,5 @@ async function getGetA() {
1515

1616
export default function Treeshaking() {
1717
const s = createAsync(() => getGetA());
18-
createEffect(() => {
19-
throw new Error('something')
20-
})
2118
return <h1>hello: {s()}</h1>;
2219
}

0 commit comments

Comments
 (0)