Fakultas Ilmu Komputer UI

Commit 5b54f8de authored by Nabilah Adani's avatar Nabilah Adani
Browse files

[CHORES] delete console.log

parent 7215e912
Pipeline #80150 passed with stages
in 3 minutes and 34 seconds
......@@ -121,7 +121,7 @@ describe('<Statistic />', () => {
});
it('sets ignoreDateRangeFilter age after clicking ignoreDateRange button', () => {
it('sets ignoreDateRangeFilter age after clicking ignoreDateRangeFilter button', () => {
const wrapper = mount(<Statistic
isTable={false}
type={StatisticType.Age}
......
......@@ -73,7 +73,6 @@ function Statistic({
const generateFilter = (filterType: StatisticType) => {
var data = {} as ExportPayload;
console.log((new Date(dateKeyFilter.start_date.valueOf() + 1000 * 3600 * 24)).toISOString().split('T')[0])
var start_date_Table = (ignoreDateRangeTable) ? "0010-01-01" : (new Date(dateKeyTable.start_date.valueOf() + 1000 * 3600 * 24)).toISOString().split('T')[0];
var end_date_Table = (ignoreDateRangeTable) ? "9990-12-31" : (new Date(dateKeyTable.end_date.valueOf() + 1000 * 3600 * 24)).toISOString().split('T')[0];
var start_date_Chart = (ignoreDateRangeFilter) ? "0010-01-01" : (new Date(dateKeyFilter.start_date.valueOf() + 1000 * 3600 * 24)).toISOString().split('T')[0];
......@@ -181,7 +180,6 @@ function Statistic({
const { data } = response;
setstatisticsDateData(data);
}
console.log(statisticsDateData)
};
const fetchStatisticsByDateTable = async () => {
......@@ -202,7 +200,6 @@ function Statistic({
const { data } = response;
setSelectedDateData(data);
}
console.log(selectedDateData)
};
const setActiveIndexHelper = async (tempData: StatisticData) => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment