schedule is for monthinfo periods
This commit is contained in:
@ -22,7 +22,8 @@ const SchedulePage = () => {
|
||||
useEffect(() => {
|
||||
const fetchHtmlContent = async () => {
|
||||
try {
|
||||
const response = await axiosInstance.get('/api/schedule?year=2024&month=1', { responseType: 'text' });
|
||||
// const response = await axiosInstance.get('/api/schedule?year=2024&month=1', { responseType: 'text' });
|
||||
const response = await axiosInstance.get('/api/schedule', { responseType: 'text' });
|
||||
setHtmlContent(response.data); // Set the fetched HTML content in state
|
||||
} catch (error) {
|
||||
console.error("Failed to fetch schedule:", error);
|
||||
|
Reference in New Issue
Block a user