You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "Logs (Beta)" option on the React Router documentation page did not
update the displayed code snippet. This was due to the absence of
corresponding `OnboardingOption` blocks for logs configuration within
`docs/platforms/javascript/guides/react-router/index.mdx`.
To resolve this:
* The `_experiments: { enableLogs: true }` configuration was added.
* This configuration was inserted into the `Sentry.init` call within the
client-side setup, specifically under the `entry.client.tsx` section.
* The same configuration was also added to the `Sentry.init` call within
the server-side setup, under the `instrument.server.mjs` section.
These additions ensure that when "Logs (Beta)" is selected, the relevant
code snippet for enabling logs is displayed in both client and server
initialization examples, aligning with the expected behavior of the
`OnboardingOptionButtons` component.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
0 commit comments