Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Fix sentry error (#1137)

Ivan Starkov012e54e46543
diff --git a/apps/builder/app/root.tsx b/apps/builder/app/root.tsx
index 93f93992e2..a8713b9f38 100644
--- a/apps/builder/app/root.tsx
+++ b/apps/builder/app/root.tsx
@@ -2,7 +2,7 @@
import { TooltipProvider } from "@radix-ui/react-tooltip";
import { Outlet } from "@remix-run/react";
import { setEnv } from "@webstudio-is/feature-flags";
-import { withSentryRouting } from "@sentry/remix";
+import { withSentry } from "@sentry/remix";
import { ErrorBoundary } from "@sentry/remix";
import env from "./shared/env";
import { PersistentFetcherProvider } from "./shared/fetcher";
@@ -22,7 +22,7 @@ const RootWithErrorBoundary = (props: OutletProps) => (
</ErrorBoundary>
);
-export default withSentryRouting(
+export default withSentry(
// withSentryRouteTracing() expects a type from component that is not necessary true.
RootWithErrorBoundary as () => JSX.Element
);