버그 픽스 및 정산 조회
This commit is contained in:
@@ -9,7 +9,7 @@ export const ListDateGroup = ({
|
||||
}: ListDateGroupProps) => {
|
||||
moment.locale('ko');
|
||||
const getStateDate = () => {
|
||||
let stateDate = moment(date).format('YY.MM');
|
||||
let stateDate = moment(date).format('YYYY.MM');
|
||||
return stateDate;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import moment from 'moment';
|
||||
|
||||
import { useEffect, useState } from 'react';
|
||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { ListFilter } from './filter/list-filter';
|
||||
@@ -91,7 +90,6 @@ export const ListWrap = () => {
|
||||
date = issueDate;
|
||||
}
|
||||
if(date !== issueDate){
|
||||
date = issueDate;
|
||||
if(list.length > 0){
|
||||
rs.push(
|
||||
<ListDateGroup
|
||||
@@ -101,6 +99,7 @@ export const ListWrap = () => {
|
||||
></ListDateGroup>
|
||||
);
|
||||
}
|
||||
date = issueDate;
|
||||
list = [];
|
||||
}
|
||||
list.push(item);
|
||||
|
||||
@@ -27,7 +27,7 @@ export const AmountSection = ({
|
||||
};
|
||||
|
||||
const onClickToOpenDownloadBottomSheet = () => {
|
||||
|
||||
setDownloadBottomSheetOn(true);
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user