Skip to content

Commit a2c2c72

Browse files
committed
cleanup
1 parent fff626d commit a2c2c72

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/react-router/src/server/instrumentation/reactRouter.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ function _patchCreateRequestHandler(
6060
original: typeof reactRouter.createRequestHandler,
6161
): typeof reactRouter.createRequestHandler {
6262
return function sentryWrappedCreateRequestHandler(this: unknown, ...args: unknown[]) {
63-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
64-
// @ts-ignore not sure why original isn't found here?
6563
const originalRequestHandler = (original as typeof reactRouter.createRequestHandler).apply(this, args);
6664
return async function sentryWrappedRequestHandler(request: Request, initialContext?: unknown) {
6765
let url: URL;

0 commit comments

Comments
 (0)