@@ -60,7 +60,6 @@ import GlobalInstances from 'components/GlobalInstances';
6060import { fetchHomeData , fetchServerSettingsAction } from "./redux/reduxActions/applicationActions" ;
6161import { getNpmPackageMeta } from "./comps/utils/remote" ;
6262import { packageMetaReadyAction , setLowcoderCompsLoading } from "./redux/reduxActions/npmPluginActions" ;
63- import { fetchBrandingSetting } from "./redux/reduxActions/enterpriseActions" ;
6463import { EnterpriseProvider } from "./util/context/EnterpriseContext" ;
6564import { SimpleSubscriptionContextProvider } from "./util/context/SimpleSubscriptionContext" ;
6665import { getBrandingSetting } from "./redux/selectors/enterpriseSelectors" ;
@@ -137,7 +136,6 @@ type AppIndexProps = {
137136 defaultHomePage : string | null | undefined ;
138137 fetchHomeDataFinished : boolean ;
139138 fetchConfig : ( orgId ?: string ) => void ;
140- fetchBrandingSetting : ( orgId ?: string ) => void ;
141139 fetchHomeData : ( currentUserAnonymous ?: boolean | undefined ) => void ;
142140 fetchLowcoderCompVersions : ( ) => void ;
143141 getCurrentUser : ( ) => void ;
@@ -167,7 +165,6 @@ class AppIndex extends React.Component<AppIndexProps, any> {
167165 if ( ! this . props . currentUserAnonymous ) {
168166 this . props . fetchHomeData ( this . props . currentUserAnonymous ) ;
169167 this . props . fetchLowcoderCompVersions ( ) ;
170- this . props . fetchBrandingSetting ( this . props . currentOrgId ) ;
171168 }
172169 }
173170 }
@@ -521,7 +518,6 @@ const mapDispatchToProps = (dispatch: any) => ({
521518 fetchHomeData : ( currentUserAnonymous : boolean | undefined ) => {
522519 dispatch ( fetchHomeData ( { } ) ) ;
523520 } ,
524- fetchBrandingSetting : ( orgId ?: string ) => dispatch ( fetchBrandingSetting ( { orgId, fallbackToGlobal : true } ) ) ,
525521 fetchLowcoderCompVersions : async ( ) => {
526522 try {
527523 dispatch ( setLowcoderCompsLoading ( true ) ) ;
0 commit comments