Skip to content

Commit 7b93711

Browse files
authored
docs(remix): Fix code example (#14452)
1 parent d0416aa commit 7b93711

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/platforms/javascript/guides/remix/manual-setup.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ To verify that Sentry captures errors and creates issues in your Sentry project,
310310
```javascript
311311
<button
312312
type="button"
313-
onClick={
313+
onClick={() => {
314314
throw new Error("Sentry Example Frontend Error");
315-
}
315+
}}
316316
>
317317
<span>
318318
Throw Sample Error

0 commit comments

Comments
 (0)