diff --git a/docs/platforms/javascript/guides/react-router/index.mdx b/docs/platforms/javascript/guides/react-router/index.mdx index 41eda2f0f539d..202d9578ea4bd 100644 --- a/docs/platforms/javascript/guides/react-router/index.mdx +++ b/docs/platforms/javascript/guides/react-router/index.mdx @@ -176,7 +176,7 @@ Sentry.init({ In your `entry.server.tsx` file, export the `handleError` function: ```tsx {diff} {filename: entry.server.tsx} -import * as Sentry from "@sentry/node"; +import * as Sentry from "@sentry/react-router"; import { type HandleErrorFunction } from "react-router"; export const handleError: HandleErrorFunction = (error, { request }) => {