We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aad266 commit 71e2705Copy full SHA for 71e2705
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
@@ -208,7 +208,9 @@ export const AIOptInModal: React.FunctionComponent<OptInModalProps> = ({
208
onClose={handleModalClose}
209
data-testid="ai-optin-modal"
210
// TODO Button Disabling
211
- className={!isProjectAIEnabled ? currentDisabledButtonStyles : undefined}
+ backdropClassName={
212
+ !isProjectAIEnabled ? currentDisabledButtonStyles : undefined
213
+ }
214
buttonProps={{
215
children: 'Use AI Features',
216
onClick: onConfirmClick,
0 commit comments