재수정
This commit is contained in:
@@ -3,7 +3,6 @@ import { AllTransactionListProps, ListItemProps } from '../model/types';
|
||||
import { ListDateGroup } from './list-date-group';
|
||||
import { GetListHeight, IMAGE_ROOT, ListScrollOn, setScrollAction } from '@/shared/constants/common';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useGroupDateOnStore, useGroupDateStore } from '@/shared/model/store';
|
||||
|
||||
export const AllTransactionList = ({
|
||||
transactionCategory,
|
||||
@@ -14,8 +13,8 @@ export const AllTransactionList = ({
|
||||
}: AllTransactionListProps) => {
|
||||
const { t, i18n } = useTranslation();
|
||||
|
||||
const { groupDate, setGroupDate } = useGroupDateStore();
|
||||
const { groupDateOn, setGroupDateOn } = useGroupDateOnStore();
|
||||
const [groupDate, setGroupDate] = useState<string>('');
|
||||
const [groupDateOn, setGroupDateOn] = useState<boolean>(false);
|
||||
|
||||
const [listHeight, setListHeight] = useState<number>(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user