Skip to content

Commit 6ef9112

Browse files
ref(js): Don't use deprecated ReactChild in spanEvidencePreview (#76241)
1 parent 4fb67fb commit 6ef9112

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

static/app/components/groupPreviewTooltip/spanEvidencePreview.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type {ReactChild} from 'react';
21
import {useEffect} from 'react';
32
import styled from '@emotion/styled';
43

@@ -14,7 +13,7 @@ import {space} from 'sentry/styles/space';
1413
import type {EventTransaction} from 'sentry/types/event';
1514

1615
type SpanEvidencePreviewProps = {
17-
children: ReactChild;
16+
children: React.ReactNode;
1817
groupId: string;
1918
query?: string;
2019
};

0 commit comments

Comments
 (0)