MId 셋팅 변경
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import { motion } from 'framer-motion';
|
||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { useStore } from '@/shared/model/store';
|
||||
import {
|
||||
SettlementPaymentMethod,
|
||||
SettlementPeriodType
|
||||
@@ -51,6 +52,8 @@ export const ListFilter = ({
|
||||
const [filterEndDate, setFilterEndDate] = useState<string>(endDate);
|
||||
const [filterPaymentMethod, setFilterPaymentMethod] = useState<SettlementPaymentMethod>(paymentMethod);
|
||||
|
||||
const midOptions = useStore.getState().UserStore.selectOptionsMids;
|
||||
|
||||
const onClickToClose = () => {
|
||||
setFilterOn(false);
|
||||
};
|
||||
@@ -64,10 +67,6 @@ export const ListFilter = ({
|
||||
onClickToClose();
|
||||
};
|
||||
|
||||
let MidOptions = [
|
||||
{name: 'nictest00m', value: 'nictest00m'}
|
||||
];
|
||||
|
||||
useEffect(() => {
|
||||
setFilterPeriodType(periodType);
|
||||
}, [periodType]);
|
||||
@@ -103,7 +102,7 @@ export const ListFilter = ({
|
||||
title='가맹점'
|
||||
selectValue={ filterMid }
|
||||
selectSetter={ setFilterMid }
|
||||
selectOptions={ MidOptions }
|
||||
selectOptions={ midOptions }
|
||||
></FilterSelect>
|
||||
<FilterButtonGroups
|
||||
title='조회기준'
|
||||
|
||||
Reference in New Issue
Block a user