[App] 불필요 api 삭제
Detail Notes : 1. getOnSaleInfo 삭제
This commit is contained in:
@@ -1,23 +1,25 @@
|
|||||||
import React, { useEffect } from "react";
|
import React, { useEffect } from 'react';
|
||||||
|
|
||||||
import { useDispatch } from "react-redux";
|
import { useDispatch } from 'react-redux';
|
||||||
|
|
||||||
import ThemeDecorator from "@enact/sandstone/ThemeDecorator";
|
import ThemeDecorator from '@enact/sandstone/ThemeDecorator';
|
||||||
|
|
||||||
import { getBrandList } from "../actions/brandActions";
|
import { getBrandList } from '../actions/brandActions';
|
||||||
import { getAuthenticationCode } from "../actions/deviceActions";
|
import { getAuthenticationCode } from '../actions/deviceActions';
|
||||||
import {
|
import {
|
||||||
getHomeLayout,
|
getHomeLayout,
|
||||||
getHomeMainContents,
|
getHomeMainContents,
|
||||||
getHomeMenu,
|
getHomeMenu,
|
||||||
getThemeCurationInfo,
|
getThemeCurationInfo,
|
||||||
} from "../actions/homeActions";
|
} from '../actions/homeActions';
|
||||||
import { getSubCategory, getTop20Show } from "../actions/mainActions";
|
import {
|
||||||
import { getMyRecommandedKeyword } from "../actions/myPageActions";
|
getSubCategory,
|
||||||
import { getOnSaleInfo } from "../actions/onSaleActions";
|
getTop20Show,
|
||||||
import { getBestSeller } from "../actions/productActions";
|
} from '../actions/mainActions';
|
||||||
import MainView from "../views/MainView/MainView";
|
import { getMyRecommandedKeyword } from '../actions/myPageActions';
|
||||||
import css from "./App.module.less";
|
import { getBestSeller } from '../actions/productActions';
|
||||||
|
import MainView from '../views/MainView/MainView';
|
||||||
|
import css from './App.module.less';
|
||||||
|
|
||||||
function AppBase(props) {
|
function AppBase(props) {
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
@@ -27,7 +29,6 @@ function AppBase(props) {
|
|||||||
dispatch(getHomeMenu());
|
dispatch(getHomeMenu());
|
||||||
dispatch(getHomeLayout());
|
dispatch(getHomeLayout());
|
||||||
dispatch(getHomeMainContents());
|
dispatch(getHomeMainContents());
|
||||||
dispatch(getOnSaleInfo({ categoryIncFlag: "Y", lgCatCd: "" }));
|
|
||||||
dispatch(getBrandList());
|
dispatch(getBrandList());
|
||||||
dispatch(getMyRecommandedKeyword());
|
dispatch(getMyRecommandedKeyword());
|
||||||
dispatch(getBestSeller());
|
dispatch(getBestSeller());
|
||||||
|
|||||||
Reference in New Issue
Block a user