From 3f6cd77b2df4d78a853c9a738c4519bd9f56649d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?junh=5Feee=28=EC=9D=B4=EC=A4=80=ED=9D=AC=29?= Date: Fri, 7 Oct 2022 11:57:35 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=ED=96=89=EC=9D=B4=EB=A0=A5=ED=98=84?= =?UTF-8?q?=ED=99=A9=20=EA=B0=84=EA=B2=A9=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../analysis/history/AnalysisHistorySearch.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/analysis/history/AnalysisHistorySearch.js b/src/components/analysis/history/AnalysisHistorySearch.js index e6a618d..dc4ba12 100644 --- a/src/components/analysis/history/AnalysisHistorySearch.js +++ b/src/components/analysis/history/AnalysisHistorySearch.js @@ -13,10 +13,8 @@ import { } from 'reactstrap'; export const AnalysisHistorySearch = props => { - useEffect(() => { if (props.isClick != -1) { - props.setParams({ ...props.params, stDate: moment().subtract(props.dateType, 'day').format('YYYY-MM-DD'), @@ -24,16 +22,14 @@ export const AnalysisHistorySearch = props => { groupId: props.searchData.groupId }); } - }, [props.dateType, props.isClick]); - return ( //
-
+

검색조건

@@ -61,7 +57,7 @@ export const AnalysisHistorySearch = props => {
{