Skip to content

Commit 8ad68d4

Browse files
Apply suggestions from code review
Co-authored-by: Alex Krawiec <[email protected]>
1 parent 563a4d6 commit 8ad68d4

File tree

1 file changed

+3
-3
lines changed
  • docs/platforms/javascript/guides/remix/frameworks

1 file changed

+3
-3
lines changed

docs/platforms/javascript/guides/remix/frameworks/hydrogen.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ First, install the Sentry Remix SDK in your application. We recommend using the
1111
npx @sentry/wizard@latest -i remix
1212
```
1313

14-
If the setup through the wizard doesn't work for you, you can also [set up the Remix SDK manually](/platforms/javascript/guides/remix/manual-setup/).
14+
If the wizard doesn't work for you, you can also [set up the Remix SDK manually](/platforms/javascript/guides/remix/manual-setup/).
1515

1616
After installing the Sentry Remix SDK, delete the newly generated `instrumentation.server.mjs` file and all newly generated code from `entry.server.tsx`. This instrumentation is not needed because you are going to use the Sentry Cloudflare SDK for server-side instrumentation.
1717

1818
Now you can install the Sentry Cloudflare SDK. First, install the SDK with your package manager:
1919

2020
<PlatformContent includePath="getting-started-install" />
2121

22-
Then update your `server.ts` file to use the `wrapRequestHandler` method
22+
Then update your `server.ts` file to use the `wrapRequestHandler` method:
2323

2424
```ts {filename:server.ts}
2525
import { wrapRequestHandler } from "@sentry/cloudflare";
@@ -51,7 +51,7 @@ export default {
5151
};
5252
```
5353

54-
To remove errors relating to `node:async_hooks` (which is included in the sdk, but not used by `wrapRequestHandler`), add a custom vite plugin to your `vite.config.ts` file that will alias it to an empty module.
54+
To remove errors relating to `node:async_hooks` (which is included in the sdk, but not used by `wrapRequestHandler`), add a custom vite plugin to your `vite.config.ts` file that will alias it to an empty module:
5555

5656
```ts {filename:vite.config.ts}
5757
export function removeAsyncHooksPlugin(): Plugin {

0 commit comments

Comments
 (0)