fix: import `untrack` directly from client in `svelte/attachments`

pull/15974/head
paoloricciuti 4 months ago
parent ef48d35a15
commit 3f7053cc2e

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: import untrack directly from client in `svelte/attachments`

@ -2,7 +2,7 @@
/** @import { Attachment } from './public' */ /** @import { Attachment } from './public' */
import { noop, render_effect } from 'svelte/internal/client'; import { noop, render_effect } from 'svelte/internal/client';
import { ATTACHMENT_KEY } from '../constants.js'; import { ATTACHMENT_KEY } from '../constants.js';
import { untrack } from 'svelte'; import { untrack } from '../index-client.js';
import { teardown } from '../internal/client/reactivity/effects.js'; import { teardown } from '../internal/client/reactivity/effects.js';
/** /**

Loading…
Cancel
Save