File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
compass-generative-ai/src/components
compass/src/app/components Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ type OptInModalProps = {
2323 isOptInInProgress : boolean ;
2424 onOptInModalClose : ( ) => void ;
2525 onOptInClick : ( ) => void ;
26- projectId : string | undefined ;
26+ projectId ? : string ;
2727} ;
2828
2929const titleStyles = css ( {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import AIOptInModal from './ai-optin-modal';
44import { ConfirmationModalArea } from '@mongodb-js/compass-components' ;
55
66export interface AtlasAiPluginProps {
7- projectId : string | undefined ;
7+ projectId ? : string ;
88}
99
1010export const AtlasAiPlugin : React . FunctionComponent < AtlasAiPluginProps > = ( {
Original file line number Diff line number Diff line change @@ -118,9 +118,7 @@ function Home({
118118 < CompassSettingsPlugin > </ CompassSettingsPlugin >
119119 < CompassFindInPagePlugin > </ CompassFindInPagePlugin >
120120 < AtlasAuthPlugin > </ AtlasAuthPlugin >
121- < CompassGenerativeAIPlugin
122- projectId = { undefined }
123- > </ CompassGenerativeAIPlugin >
121+ < CompassGenerativeAIPlugin > </ CompassGenerativeAIPlugin >
124122 < LegacyConnectionsModal />
125123 </ FieldStorePlugin >
126124 </ CompassInstanceStorePlugin >
You can’t perform that action at this time.
0 commit comments