Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/svelte/src/internal/client/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
* @returns {Promise<void>}
*/
export function unmount(component, options) {
const fn = mounted_components.get(component);
const fn = mounted_components.get(component[STATE_SYMBOL]);

Check failure on line 304 in packages/svelte/src/internal/client/render.js

View workflow job for this annotation

GitHub Actions / Lint

'STATE_SYMBOL' is not defined

if (fn) {
mounted_components.delete(component);
Expand Down
Loading