Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export function getRouter() {
routeTree,
scrollRestoration: true,
defaultPreload: "intent",
// Replaces React's <ViewTransition> from the old root layout. See the
// `.ew-vt-main` rule and the ::view-transition selectors in globals.css.
defaultViewTransition: true,
// Browser view transitions reject overlapping updates with an unhandled
// InvalidStateError. Route changes remain ordinary React transitions.
defaultViewTransition: false,
// Fires from the router's CatchBoundary `componentDidCatch`, which is what
// renders `AppError`. `captureException` comes from `@sentry/core` rather
// than `@sentry/react` so this import does not pull the browser SDK into
Expand Down
Loading