About page&home/estate change
This commit is contained in:
@@ -20,7 +20,7 @@ const MinePage: React.FC<HomeMineModelState & DispatchProp> = ({
|
||||
|
||||
useEffect(() => {
|
||||
if (!data || errorList) {
|
||||
dispatch({ type: 'homeMine/loadList' });
|
||||
dispatch({ type: 'homeMine/loadList', payload: false });
|
||||
}
|
||||
if (!info || errorBasic) {
|
||||
dispatch({ type: 'homeMine/loadBasic' });
|
||||
@@ -29,8 +29,7 @@ const MinePage: React.FC<HomeMineModelState & DispatchProp> = ({
|
||||
|
||||
const onRefresh = () => {
|
||||
if (refreshingBasic || refreshingList) return;
|
||||
dispatch({ type: 'homeMine/loadList', payload: true });
|
||||
dispatch({ type: 'homeMine/loadBasic' });
|
||||
dispatch({ type: 'homeMine/refresh' });
|
||||
};
|
||||
|
||||
const renderBanner = (
|
||||
|
||||
Reference in New Issue
Block a user