Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,15 @@ import {
cx,
spacing,
palette,
InlineDefinition,
useDarkMode,
Button,
ButtonVariant,
} from '@mongodb-js/compass-components';
import { fetchSampleDocuments, SAMPLE_SIZE } from '../modules/sample-documents';
import { fetchSampleDocuments } from '../modules/sample-documents';
import { DocumentPreview } from './document-preview';
import { connect } from 'react-redux';
import type { RootState } from '../modules';

const SAMPLE_DEFINITION = `A sample is fetched from a sample-space of ${SAMPLE_SIZE} randomly selected documents`;

/**
* The Sample Documents editor component.
**/
Expand Down Expand Up @@ -152,9 +149,7 @@ const InitialState: React.FC<{
darkMode && previewHeaderDarkModeStyles
)}
>
<InlineDefinition definition={SAMPLE_DEFINITION}>
Preview sample documents
</InlineDefinition>
Preview sample documents
</div>
<div>
This section displays one document that passed validation and one that
Expand Down
Loading