File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/compass-generative-ai/src/components Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,8 @@ const AIOptInModal: React.FunctionComponent<OptInModalProps> = ({
103103export default connect (
104104 ( state : AtlasOptInState ) => {
105105 return {
106- isOptInModalVisible : state . optInReducer . isModalOpen ,
107- isOptInInProgress : state . optInReducer . state === 'in-progress' ,
106+ isOptInModalVisible : state . optIn . isModalOpen ,
107+ isOptInInProgress : state . optIn . state === 'in-progress' ,
108108 } ;
109109 } ,
110110 { onOptInModalClose : closeOptInModal , onOptInClick : optIn }
Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ const AISignInModal: React.FunctionComponent<SignInModalProps> = ({
102102export default connect (
103103 ( state : AtlasSignInState ) => {
104104 return {
105- isSignInModalVisible : state . signInReducer . isModalOpen ,
106- isSignInInProgress : state . signInReducer . state === 'in-progress' ,
105+ isSignInModalVisible : state . signIn . isModalOpen ,
106+ isSignInInProgress : state . signIn . state === 'in-progress' ,
107107 } ;
108108 } ,
109109 { onSignInModalClose : closeSignInModal , onSignInClick : signIn }
You can’t perform that action at this time.
0 commit comments