Commit 411e53a3 authored by Kim, Subin's avatar Kim, Subin
Browse files

import .js 삭제

parent 0bb094af
import axios from "axios"; import axios from "axios";
import baseUrl from "../utils/baseUrl.js"; import baseUrl from "../utils/baseUrl";
const getUser = async () => { const getUser = async () => {
const url = `${baseUrl}/api/auth` const url = `${baseUrl}/api/auth`
......
import axios from "axios"; import axios from "axios";
import baseUrl from "../utils/baseUrl.js"; import baseUrl from "../utils/baseUrl";
const getOne = async (id, userId = "ku") => { const getOne = async (id, userId = "ku") => {
const { data } = await axios.get(`${baseUrl}/api/schedule/${userId}?scheduleId=${id}`); const { data } = await axios.get(`${baseUrl}/api/schedule/${userId}?scheduleId=${id}`);
......
import { useState, useEffect, useRef } from "react"; import { useState, useEffect, useRef } from "react";
import { useHistory } from "react-router-dom"; import { useHistory } from "react-router-dom";
import CalendarBtn from "../Buttons/CalendarBtn.js"; import CalendarBtn from "../Buttons/CalendarBtn";
import DatePickerModal from "../Modal/DatePickerModal.js"; import DatePickerModal from "../Modal/DatePickerModal";
import scheduleApi from "../../apis/schedule.api"; import scheduleApi from "../../apis/schedule.api";
import { useAuth } from "../../utils/context.js"; import { useAuth } from "../../utils/context";
import catchErrors from "../../utils/catchErrors.js"; import catchErrors from "../../utils/catchErrors";
import moment from 'moment'; import moment from 'moment';
import FullCalendar from '@fullcalendar/react'; import FullCalendar from '@fullcalendar/react';
import dayGridPlugin from '@fullcalendar/daygrid'; import dayGridPlugin from '@fullcalendar/daygrid';
......
Markdown is supported
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