From 8dccee69f27fcb38a949585cd8e6ba8fa381f44a Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Mon, 6 Feb 2023 15:21:39 -0800 Subject: [PATCH] chore(trading): remove unnecessary sentry capture from asyncrenderer component (#2869) --- .../ui-toolkit/src/components/async-renderer/async-renderer.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/ui-toolkit/src/components/async-renderer/async-renderer.tsx b/libs/ui-toolkit/src/components/async-renderer/async-renderer.tsx index 5812c15dc..a9251cd6f 100644 --- a/libs/ui-toolkit/src/components/async-renderer/async-renderer.tsx +++ b/libs/ui-toolkit/src/components/async-renderer/async-renderer.tsx @@ -1,7 +1,6 @@ import { Splash } from '../splash'; import type { ReactNode } from 'react'; import { t } from '@vegaprotocol/react-helpers'; -import * as Sentry from '@sentry/react'; interface AsyncRendererProps { loading: boolean; @@ -27,7 +26,6 @@ export function AsyncRenderer({ render, }: AsyncRendererProps) { if (error) { - Sentry.captureException(`Error rendering data: ${error.message}`); if (!data) { return (