Compare commits

...

2 Commits

Author SHA1 Message Date
Matthew Russell
2cc81c8a96
chore: remove sentry import 2023-02-06 11:36:54 -08:00
Matthew Russell
083c55f09d
chore: remove unnecessary sentry capture from asyncrenderer component 2023-02-06 11:32:50 -08:00

View File

@ -1,7 +1,6 @@
import { Splash } from '../splash'; import { Splash } from '../splash';
import type { ReactNode } from 'react'; import type { ReactNode } from 'react';
import { t } from '@vegaprotocol/react-helpers'; import { t } from '@vegaprotocol/react-helpers';
import * as Sentry from '@sentry/react';
interface AsyncRendererProps<T> { interface AsyncRendererProps<T> {
loading: boolean; loading: boolean;
@ -27,7 +26,6 @@ export function AsyncRenderer<T = object>({
render, render,
}: AsyncRendererProps<T>) { }: AsyncRendererProps<T>) {
if (error) { if (error) {
Sentry.captureException(`Error rendering data: ${error.message}`);
if (!data) { if (!data) {
return ( return (
<Splash> <Splash>