[FeaturedBrandsPanel] edited, for deep link
This commit is contained in:
@@ -71,6 +71,7 @@ export const getBrandLiveChannelInfo = (props) => (dispatch, getState) => {
|
||||
|
||||
const onSuccess = (response) => {
|
||||
// console.log("getBrandLiveChannelInfo onSuccess ", response.data);
|
||||
dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
|
||||
dispatch({
|
||||
type: types.GET_BRAND_LIVE_CHANNEL_INFO,
|
||||
@@ -78,13 +79,10 @@ export const getBrandLiveChannelInfo = (props) => (dispatch, getState) => {
|
||||
data: response.data.data,
|
||||
},
|
||||
});
|
||||
|
||||
dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
};
|
||||
|
||||
const onFail = (error) => {
|
||||
console.error("getBrandLiveChannelInfo onFail ", error);
|
||||
|
||||
dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
};
|
||||
|
||||
@@ -169,6 +167,7 @@ export const getBrandRecommendedShowInfo = (props) => (dispatch, getState) => {
|
||||
|
||||
const onSuccess = (response) => {
|
||||
// console.log("getBrandRecommendedShowInfo onSuccess", response.data);
|
||||
dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
|
||||
dispatch({
|
||||
type: types.GET_BRAND_RECOMMENDED_SHOW_INFO,
|
||||
@@ -176,13 +175,10 @@ export const getBrandRecommendedShowInfo = (props) => (dispatch, getState) => {
|
||||
data: response.data.data,
|
||||
},
|
||||
});
|
||||
|
||||
dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
};
|
||||
|
||||
const onFail = (error) => {
|
||||
console.error("getBrandRecommendedShowInfo onFail", error);
|
||||
|
||||
dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
};
|
||||
|
||||
@@ -206,6 +202,7 @@ export const getBrandCreatorsInfo = (props) => (dispatch, getState) => {
|
||||
|
||||
const onSuccess = (response) => {
|
||||
// console.log("getBrandCreatorsInfo onSuccess ", response.data);
|
||||
dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
|
||||
dispatch({
|
||||
type: types.GET_BRAND_CREATORS_INFO,
|
||||
@@ -213,13 +210,10 @@ export const getBrandCreatorsInfo = (props) => (dispatch, getState) => {
|
||||
data: response.data.data,
|
||||
},
|
||||
});
|
||||
|
||||
dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
};
|
||||
|
||||
const onFail = (error) => {
|
||||
console.error("getBrandCreatorsInfo onFail ", error);
|
||||
|
||||
dispatch(changeAppStatus({ showLoadingPanel: { show: false } }));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user