We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f405596 + 0e7e873 commit 5c99be3Copy full SHA for 5c99be3
.changeset/new-candles-marry.md
@@ -0,0 +1,5 @@
1
+---
2
+'svelte': patch
3
4
+
5
+chore: simplify internal component `pop()`
packages/svelte/src/internal/client/context.js
@@ -184,7 +184,7 @@ export function pop(component) {
184
component_context = context.p;
185
186
if (DEV) {
187
- dev_current_component_function = context.p?.function ?? null;
+ dev_current_component_function = component_context?.function ?? null;
188
}
189
190
return component ?? /** @type {T} */ ({});
0 commit comments