Skip to content

Commit c8f4697

Browse files
committed
Lint
1 parent b4cd578 commit c8f4697

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/react-router/src/server/createServerInstrumentation.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ export function createSentryServerInstrumentation(
180180

181181
updateRootSpanWithRoute(info.request.method, pattern, urlPath);
182182

183-
const counterStore = context.active().getValue(MIDDLEWARE_COUNTER_KEY) as { counters: Record<string, number> } | undefined;
183+
const counterStore = context.active().getValue(MIDDLEWARE_COUNTER_KEY) as
184+
| { counters: Record<string, number> }
185+
| undefined;
184186
let middlewareIndex = 0;
185187
if (counterStore) {
186188
middlewareIndex = counterStore.counters[routeId] ?? 0;

0 commit comments

Comments
 (0)