Skip to content

Commit

Permalink
[APM] Use new path syntax in waterfall (#111689)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed Sep 9, 2021
1 parent 2c7d13b commit c1697a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ function RelatedErrors({
}) {
const apmRouter = useApmRouter();
const theme = useTheme();
const { query } = useApmParams('/services/:serviceName/transactions/view');
const { query } = useApmParams('/services/{serviceName}/transactions/view');

const href = apmRouter.link(`/services/:serviceName/errors`, {
const href = apmRouter.link(`/services/{serviceName}/errors`, {
path: { serviceName: item.doc.service.name },
query: {
...query,
Expand Down

0 comments on commit c1697a1

Please sign in to comment.