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 b1d9b98 commit 4a5afa1Copy full SHA for 4a5afa1
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
@@ -207,7 +207,9 @@ export const AIOptInModal: React.FunctionComponent<OptInModalProps> = ({
207
open={isOptInModalVisible}
208
onClose={handleModalClose}
209
// TODO Button Disabling
210
- className={!isProjectAIEnabled ? currentDisabledButtonStyles : undefined}
+ backdropClassName={
211
+ !isProjectAIEnabled ? currentDisabledButtonStyles : undefined
212
+ }
213
buttonProps={{
214
children: 'Use AI Features',
215
onClick: onConfirmClick,
0 commit comments