Skip to content

Commit 818661e

Browse files
authored
fix: typos in TanStack Start docs (#15425)
add missing return and fix test route name
1 parent 7b28862 commit 818661e

File tree

1 file changed

+3
-1
lines changed
  • docs/platforms/javascript/guides/tanstackstart-react

1 file changed

+3
-1
lines changed

docs/platforms/javascript/guides/tanstackstart-react/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ export const getRouter = () => {
105105
+ // ___PRODUCT_OPTION_END___ session-replay
106106
+ });
107107
}
108+
109+
return router;
108110
}
109111
```
110112

@@ -256,7 +258,7 @@ To verify that Sentry captures errors and creates issues in your Sentry project,
256258
<OnboardingOption optionId="performance">
257259
### Tracing
258260

259-
To test tracing, create a new file like `src/routes/api/sentry-example.ts` to create a test route `/sentry-example`:
261+
To test tracing, create a new file like `src/routes/api/sentry-example.ts` to create a test route `/api/sentry-example`:
260262

261263
```typescript {filename:src/routes/api/sentry-example.ts}
262264
import { createFileRoute } from "@tanstack/react-router";

0 commit comments

Comments
 (0)