Commit dcfe90c
committed
fix(core): Gate dispatched route name extraction behind useDispatchedActionData
Ensure getRouteNameFromAction is only called when useDispatchedActionData
is enabled. Previously, the route name was extracted from the action
payload even when the feature was disabled, which could change the span
name and beforeStartSpan input for users who hadn't opted in.1 parent 3ca05a5 commit dcfe90c
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- packages/core/src/js/tracing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| |||
0 commit comments