Commit 0bb094af authored by Kim, Subin's avatar Kim, Subin
Browse files

impoer .js 삭제

parent 9ad05544
import axios from "axios";
import baseUrl from "../utils/baseUrl.js";
import baseUrl from "../utils/baseUrl";
const addsubject = async (info, userId) => {
const url = `${baseUrl}/api/subject/addsubject`;
......
import TodoModal from "../Modal/TodoModal.js";
import TodoModal from "../Modal/TodoModal";
import styles from "./buttons.module.scss";
const AddBtn = () => {
......
import { useState, useEffect, useRef } from "react";
import CalendarBtn from "../Buttons/CalendarBtn.js";
import DatePickerModal from "../Modal/DatePickerModal.js";
import ScheduleModal from "../Modal/ScheduleModal.js";
import CalendarBtn from "../Buttons/CalendarBtn";
import DatePickerModal from "../Modal/DatePickerModal";
import ScheduleModal from "../Modal/ScheduleModal";
import scheduleApi from "../../apis/schedule.api";
import catchErrors from "../../utils/catchErrors.js";
import catchErrors from "../../utils/catchErrors";
import moment from 'moment';
import FullCalendar from '@fullcalendar/react';
import dayGridPlugin from '@fullcalendar/daygrid';
......
import ScheduleCarousel from "../Schedule/ScheduleCarousel.js";
import ScheduleList from "../Schedule/ScheduleList.js";
import ScheduleCarousel from "../Schedule/ScheduleCarousel";
import ScheduleList from "../Schedule/ScheduleList";
import { createPlugin } from '@fullcalendar/react';
const CustomDateView = () => {
......
......@@ -2,7 +2,7 @@ import { useEffect, useRef } from "react";
import { useHistory, useParams } from "react-router-dom";
import moment from 'moment';
import FullCalendar from '@fullcalendar/react';
import customViewPlugin from "./CustomView.js";
import customViewPlugin from "./CustomView";
import bootstrapPlugin from '@fullcalendar/bootstrap';
import '@fortawesome/fontawesome-free/css/all.css';
......
import { useState, useEffect, useRef } from "react";
import { useHistory, useParams } from "react-router-dom";
import Date from "./DateSet.js";
import Date from "./DateSet";
import moment from 'moment';
import FullCalendar, { createPlugin } from '@fullcalendar/react';
import interactionPlugin from "@fullcalendar/interaction";
......
import EditBtn from "./Buttons/EditBtn.js";
import AddBtn from "./Buttons/AddBtn.js";
import EditBtn from "./Buttons/EditBtn";
import AddBtn from "./Buttons/AddBtn";
const Footer = ({ pathname="todo" }) => {
return (
......
import { useState } from 'react';
import { Redirect, Link } from "react-router-dom";
import { Formik } from 'formik';
import { useAuth } from "../../utils/context.js";
import { useAuth } from "../../utils/context";
import * as Yup from 'yup';
import catchErrors from "../../utils/catchErrors.js";
import catchErrors from "../../utils/catchErrors";
import styles from "./form.module.scss";
const LoginForm = () => {
......
import { useState, useEffect } from "react";
import { Redirect, useParams } from "react-router-dom";
import BtnGroup from "../Buttons/BtnGroup.js";
import BtnGroup from "../Buttons/BtnGroup";
import scheduleApi from "../../apis/schedule.api";
import { useAuth } from "../../utils/context.js";
import catchErrors from "../../utils/catchErrors.js";
import { useAuth } from "../../utils/context";
import catchErrors from "../../utils/catchErrors";
import styles from "./form.module.scss";
const ScheduleForm = () => {
......
......@@ -3,7 +3,7 @@ import { Redirect } from "react-router-dom";
import { Formik } from 'formik';
import * as Yup from 'yup';
import authApi from '../../apis/auth.api';
import catchErrors from "../../utils/catchErrors.js";
import catchErrors from "../../utils/catchErrors";
import styles from "./form.module.scss";
const SignupForm = () => {
......
import { useState, useEffect } from 'react';
import { useParams } from 'react-router-dom';
import { useAuth } from "../../utils/context.js";
import { useAuth } from "../../utils/context";
import BtnGroup from "../Buttons/BtnGroup";
import subjectApi from '../../apis/subject.api.js';
import planApi from '../../apis/plan.api.js';
import subjectApi from '../../apis/subject.api';
import planApi from '../../apis/plan.api';
import catchErrors from '../../utils/catchErrors';
import styles from "./form.module.scss";
import catchErrors from '../../utils/catchErrors.js';
const StudyPlanEditForm = () => {
const { user } = useAuth();
......
import { useState, useEffect } from 'react';
import { Redirect, useParams } from 'react-router-dom';
import { useAuth } from '../../utils/context.js';
import { useAuth } from '../../utils/context';
import BtnGroup from "../Buttons/BtnGroup";
import subjectApi from '../../apis/subject.api';
import catchErrors from '../../utils/catchErrors.js';
import catchErrors from '../../utils/catchErrors';
import styles from "./form.module.scss";
const SubjectForm = () => {
......
import { Redirect, Route } from "react-router-dom";
import { useAuth } from "../utils/context.js"
import { useAuth } from "../utils/context";
import ErrorPage from "../pages/ErrorPage";
const PrivateRoute = ({ component: Component, ...rest }) => {
......
......@@ -2,7 +2,7 @@ import { useState, useEffect } from "react";
import { useParams } from "react-router-dom";
import KU from "./KUSchedule.js";
import scheduleApi from "../../apis/schedule.api";
import catchErrors from "../../utils/catchErrors.js";
import catchErrors from "../../utils/catchErrors";
const ScheduleCarousel = () => {
const [scheduleList, setScheduleList] = useState([])
......
import { useState, useEffect } from "react";
import { useParams } from "react-router-dom";
import Item from "./ScheduleItem.js";
import Item from "./ScheduleItem";
import scheduleApi from "../../apis/schedule.api";
import { useAuth } from "../../utils/context.js";
import catchErrors from "../../utils/catchErrors.js";
import { useAuth } from "../../utils/context";
import catchErrors from "../../utils/catchErrors";
import styles from "./schedule.module.scss";
const ScheduleList = () => {
......
import PlanItem from "./PlanItem.js";
import PlanItem from "./PlanItem";
import styles from "./studyplan.module.scss";
const AddplanList = () => {
......
import { useState } from "react";
import { Link } from "react-router-dom";
import catchErrors from "../../utils/catchErrors.js";
import catchErrors from "../../utils/catchErrors";
import styles from "../Schedule/schedule.module.scss";
import styles2 from "./studyplan.module.scss";
......
import { useState, useEffect } from 'react';
import { useAuth } from "../utils/context.js"
import { useAuth } from "../utils/context";
import { Link } from "react-router-dom";
import StudyPlanCard from "./Card/StudyPlanCard.js";
import subjectApi from '../apis/subject.api.js';
import StudyPlanCard from "./Card/StudyPlanCard";
import subjectApi from '../apis/subject.api';
const StudyPlanList = () => {
const { user } = useAuth();
......
import TodoModal from "../components/Modal/TodoModal.js";
import TodoPostModal from "../components/Modal/TodoPostModal.js";
import TodoModal from "../components/Modal/TodoModal";
import TodoPostModal from "../components/Modal/TodoPostModal";
import styles from "../components/Form/form.module.scss";
const TodoList = () => {
......
import Monthly from "../../components/Calendar/AdminMonthly.js";
import Footer from "../../components/Footer.js";
import { useAuth } from "../../utils/context.js";
import Monthly from "../../components/Calendar/AdminMonthly";
import Footer from "../../components/Footer";
import { useAuth } from "../../utils/context";
import styles from "./admin.module.scss";
const AdminPage = () => {
......
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