Skip to content

Commit 4a5afa1

Browse files
committed
Update generative-ai to adopt LG modal v20
1 parent b1d9b98 commit 4a5afa1

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
@@ -207,7 +207,9 @@ export const AIOptInModal: React.FunctionComponent<OptInModalProps> = ({
207207
open={isOptInModalVisible}
208208
onClose={handleModalClose}
209209
// TODO Button Disabling
210-
className={!isProjectAIEnabled ? currentDisabledButtonStyles : undefined}
210+
backdropClassName={
211+
!isProjectAIEnabled ? currentDisabledButtonStyles : undefined
212+
}
211213
buttonProps={{
212214
children: 'Use AI Features',
213215
onClick: onConfirmClick,

0 commit comments

Comments
 (0)