[categoryPanel] 카테고리 변경 시 기존 데이터 남아있는 현상 수정

This commit is contained in:
hyunwoo93.cha
2024-05-27 16:13:38 +09:00
parent b67269a442
commit 6cb9a98285
3 changed files with 50 additions and 34 deletions

View File

@@ -1,8 +1,8 @@
import { URLS } from "../api/apiConfig";
import { TAxios } from "../api/TAxios";
import { CATEGORY_DATA_MAX_RESULTS_LIMIT } from "../utils/Config";
import * as HelperMethods from "../utils/helperMethods";
import { types } from "./actionTypes";
import { URLS } from '../api/apiConfig';
import { TAxios } from '../api/TAxios';
import { CATEGORY_DATA_MAX_RESULTS_LIMIT } from '../utils/Config';
import * as HelperMethods from '../utils/helperMethods';
import { types } from './actionTypes';
export const getMainLiveShow = (props) => (dispatch, getState) => {
const onSuccess = (response) => {
@@ -171,6 +171,7 @@ export const getSubCategory =
onFail
);
};
export const continueGetSubCategory =
(key, pageNo = 2) =>
(dispatch, getState) => {
@@ -194,6 +195,10 @@ export const continueGetSubCategory =
);
};
export const clearSubCategory = () => ({
type: types.CLEAR_SUB_CATEGORY,
});
// TOP20 영상 목록 조회 IF-LGSP-069
export const getTop20Show = () => (dispatch, getState) => {
const onSuccess = (response) => {