Skip to content

Commit 2dfa720

Browse files
committed
nit
1 parent 7fbb335 commit 2dfa720

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

packages/compass-collection/src/components/mock-data-generator-modal/mock-data-generator-modal.spec.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ describe('MockDataGeneratorModal', () => {
140140
// fragment from { "name": "String" }
141141
expect(screen.queryByText('"String"')).to.exist;
142142
expect(screen.queryByText('"John"')).to.not.exist;
143-
144-
screen.debug();
145143
});
146144

147145
it('closes the modal when the close button is clicked', async () => {

packages/compass-collection/src/components/mock-data-generator-modal/raw-schema-confirmation-screen.tsx

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,12 @@ interface RawSchemaConfirmationScreenProps {
2424
}
2525

2626
const namespaceStyles = css({
27-
marginTop: spacing[100],
28-
marginBottom: spacing[500],
29-
});
30-
31-
const headingStyles = css({
32-
marginBottom: spacing[100],
27+
marginTop: spacing[200],
28+
marginBottom: spacing[400],
3329
});
3430

3531
const descriptionStyles = css({
36-
marginBottom: spacing[300],
32+
marginBottom: spacing[200],
3733
});
3834

3935
const codeStyles = css({
@@ -53,9 +49,7 @@ const RawSchemaConfirmationScreen = ({
5349
namespace,
5450
fakerSchemaGenerationStatus,
5551
}: RawSchemaConfirmationScreenProps) => {
56-
const enableSampleDocumentPassing = usePreference(
57-
'enableGenAISampleDocumentPassing'
58-
);
52+
const enableSampleDocumentPassing = true;
5953

6054
const subtitleText = enableSampleDocumentPassing
6155
? 'Sample Documents Collected'
@@ -76,12 +70,7 @@ const RawSchemaConfirmationScreen = ({
7670
{schemaAnalysis.status === 'complete' ? (
7771
<>
7872
<Body className={namespaceStyles}>{namespace}</Body>
79-
<Body
80-
as="h2"
81-
className={headingStyles}
82-
baseFontSize={16}
83-
weight="medium"
84-
>
73+
<Body as="h2" baseFontSize={16} weight="medium">
8574
{subtitleText}
8675
</Body>
8776
<Body className={descriptionStyles}>{descriptionText}</Body>

0 commit comments

Comments
 (0)