File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
packages/compass-schema-validation/src/components Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff 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' ;
1514import { DocumentPreview } from './document-preview' ;
1615import { connect } from 'react-redux' ;
1716import 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
You can’t perform that action at this time.
0 commit comments