fix: import `untrack` directly from client in `svelte/attachments` (#15974)

pull/15980/head
Paolo Ricciuti 4 months ago committed by GitHub
parent ef48d35a15
commit 4e72b7d28b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

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

Loading…
Cancel
Save