update
This commit is contained in:
@ -4,7 +4,7 @@ import { DateRange } from 'react-day-picker';
|
||||
import { formatDate } from 'date-fns';
|
||||
import { apiConfig } from '@/config/api.config';
|
||||
|
||||
const API_URL = apiConfig.service_credit;
|
||||
const API_URL = apiConfig.service_dashboard;
|
||||
|
||||
interface UseFetchCardDataResult {
|
||||
cardData: any;
|
||||
|
||||
@ -4,7 +4,7 @@ import { DateRange } from 'react-day-picker';
|
||||
import { formatDate } from 'date-fns';
|
||||
import { apiConfig } from '@/config/api.config';
|
||||
|
||||
const API_URL = apiConfig.service_credit;
|
||||
const API_URL = apiConfig.service_dashboard;
|
||||
|
||||
interface UseFetchChartDataResult {
|
||||
chartData: any[];
|
||||
|
||||
@ -2,7 +2,7 @@ import { useState, useEffect } from 'react';
|
||||
import axios from 'axios';
|
||||
import { apiConfig } from '@/config/api.config';
|
||||
|
||||
const API_URL = apiConfig.service_credit;
|
||||
const API_URL = apiConfig.service_dashboard;
|
||||
|
||||
interface YearData {
|
||||
year: string;
|
||||
|
||||
Reference in New Issue
Block a user