Skip to content

Commit 02561d9

Browse files
committed
PR suggestions
1 parent ae02133 commit 02561d9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

packages/compass-schema/src/components/export-schema-legacy-banner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
stopShowingLegacyBanner,
2020
} from '../stores/schema-export-reducer';
2121

22-
const Image = () => (
22+
const SchemaExportSVG = () => (
2323
<svg
2424
xmlns="http://www.w3.org/2000/svg"
2525
width="214"
@@ -491,7 +491,7 @@ const ExportSchemaLegacyBanner: React.FunctionComponent<{
491491
title={
492492
<>
493493
<div className={imageContainerStyles}>
494-
<Image />
494+
<SchemaExportSVG />
495495
</div>
496496
New &amp; Improved Export Schema Experience
497497
</>

packages/compass-schema/src/stores/schema-export-reducer.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ export const schemaExportReducer: Reducer<SchemaExportState, Action> = (
368368
return state;
369369
};
370370

371-
//// TODO: add ticket number to clean this up
371+
// TODO clean out when phase out is confirmed COMPASS-8692
372372
export type openLegacyBannerAction = {
373373
type: SchemaExportActions.openLegacyBanner;
374374
};
@@ -438,7 +438,8 @@ export const confirmedLegacySchemaShare = (): SchemaThunkAction<void> => {
438438
: {
439439
variant: 'warning',
440440
title: 'Analyze Schema First',
441-
description: 'Please analyze the schema in the schema tab before sharing the schema.',
441+
description:
442+
'Please analyze the schema in the schema tab before sharing the schema.',
442443
}
443444
);
444445
};

0 commit comments

Comments
 (0)