@@ -60,7 +60,6 @@ import GlobalInstances from 'components/GlobalInstances';
60
60
import { fetchHomeData , fetchServerSettingsAction } from "./redux/reduxActions/applicationActions" ;
61
61
import { getNpmPackageMeta } from "./comps/utils/remote" ;
62
62
import { packageMetaReadyAction , setLowcoderCompsLoading } from "./redux/reduxActions/npmPluginActions" ;
63
- import { fetchBrandingSetting } from "./redux/reduxActions/enterpriseActions" ;
64
63
import { EnterpriseProvider } from "./util/context/EnterpriseContext" ;
65
64
import { SimpleSubscriptionContextProvider } from "./util/context/SimpleSubscriptionContext" ;
66
65
import { getBrandingSetting } from "./redux/selectors/enterpriseSelectors" ;
@@ -137,7 +136,6 @@ type AppIndexProps = {
137
136
defaultHomePage : string | null | undefined ;
138
137
fetchHomeDataFinished : boolean ;
139
138
fetchConfig : ( orgId ?: string ) => void ;
140
- fetchBrandingSetting : ( orgId ?: string ) => void ;
141
139
fetchHomeData : ( currentUserAnonymous ?: boolean | undefined ) => void ;
142
140
fetchLowcoderCompVersions : ( ) => void ;
143
141
getCurrentUser : ( ) => void ;
@@ -167,7 +165,6 @@ class AppIndex extends React.Component<AppIndexProps, any> {
167
165
if ( ! this . props . currentUserAnonymous ) {
168
166
this . props . fetchHomeData ( this . props . currentUserAnonymous ) ;
169
167
this . props . fetchLowcoderCompVersions ( ) ;
170
- this . props . fetchBrandingSetting ( this . props . currentOrgId ) ;
171
168
}
172
169
}
173
170
}
@@ -521,7 +518,6 @@ const mapDispatchToProps = (dispatch: any) => ({
521
518
fetchHomeData : ( currentUserAnonymous : boolean | undefined ) => {
522
519
dispatch ( fetchHomeData ( { } ) ) ;
523
520
} ,
524
- fetchBrandingSetting : ( orgId ?: string ) => dispatch ( fetchBrandingSetting ( { orgId, fallbackToGlobal : true } ) ) ,
525
521
fetchLowcoderCompVersions : async ( ) => {
526
522
try {
527
523
dispatch ( setLowcoderCompsLoading ( true ) ) ;
0 commit comments