Skip to content

Commit 71e2705

Browse files
committed
Update generative-ai to adopt LG modal v20
1 parent 4aad266 commit 71e2705

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/compass-generative-ai/src/components/ai-optin-modal.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ export const AIOptInModal: React.FunctionComponent<OptInModalProps> = ({
208208
onClose={handleModalClose}
209209
data-testid="ai-optin-modal"
210210
// TODO Button Disabling
211-
className={!isProjectAIEnabled ? currentDisabledButtonStyles : undefined}
211+
backdropClassName={
212+
!isProjectAIEnabled ? currentDisabledButtonStyles : undefined
213+
}
212214
buttonProps={{
213215
children: 'Use AI Features',
214216
onClick: onConfirmClick,

0 commit comments

Comments
 (0)