8000 fix: import `untrack` directly from client in `svelte/attachments` · sveltejs/svelte@3f7053c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f7053c

Browse files
committed
fix: import untrack directly from client in svelte/attachments
1 parent ef48d35 commit 3f7053c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/short-ads-rhyme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'svelte': patch
3+
---
4+
5+
fix: import untrack directly from client in `svelte/attachments`

packages/svelte/src/attachments/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/** @import { Attachment } from './public' */
33
import { noop, render_effect } from 'svelte/internal/client';
44
import { ATTACHMENT_KEY } from '../constants.js';
5-
import { untrack } from 'svelte';
5+
import { untrack } from '../index-client.js';
66
import { teardown } from '../internal/client/reactivity/effects.js';
77

88
/**

0 commit comments

Comments
 (0)
0