Skip to content

Commit c5b9ff7

Browse files
authored
fix: cleanup tooltip COMPASS-9256 (#6842)
fix: cleanup tooltip
1 parent 1adf0de commit c5b9ff7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

packages/compass-schema-validation/src/components/sample-documents.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,15 @@ import {
66
cx,
77
spacing,
88
palette,
9-
InlineDefinition,
109
useDarkMode,
1110
Button,
1211
ButtonVariant,
1312
} from '@mongodb-js/compass-components';
14-
import { fetchSampleDocuments, SAMPLE_SIZE } from '../modules/sample-documents';
13+
import { fetchSampleDocuments } from '../modules/sample-documents';
1514
import { DocumentPreview } from './document-preview';
1615
import { connect } from 'react-redux';
1716
import type { RootState } from '../modules';
1817

19-
const SAMPLE_DEFINITION = `A sample is fetched from a sample-space of ${SAMPLE_SIZE} randomly selected documents`;
20-
2118
/**
2219
* The Sample Documents editor component.
2320
**/
@@ -152,9 +149,7 @@ const InitialState: React.FC<{
152149
darkMode && previewHeaderDarkModeStyles
153150
)}
154151
>
155-
<InlineDefinition definition={SAMPLE_DEFINITION}>
156-
Preview sample documents
157-
</InlineDefinition>
152+
Preview sample documents
158153
</div>
159154
<div>
160155
This section displays one document that passed validation and one that

0 commit comments

Comments
 (0)