Skip to content

Commit

Permalink
fix HMR bug
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm committed Jan 30, 2025
1 parent a79dfb5 commit 6117037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte/src/internal/client/dom/blocks/boundary.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export function suspend() {

return function unsuspend() {
// @ts-ignore
boundary?.fn(ASYNC_DECREMENT);
boundary?.fn?.(ASYNC_DECREMENT);
};
}

Expand Down

0 comments on commit 6117037

Please sign in to comment.