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

impoer .js 삭제

parent 9ad05544
import Menu from "../components/Menu/Menu.js";
import Monthly from "../components/Calendar/Monthly.js";
import Footer from "../components/Footer.js";
import Menu from "../components/Menu/Menu";
import Monthly from "../components/Calendar/Monthly";
import Footer from "../components/Footer";
const HomePage = () => {
return (
......
import { Link } from 'react-router-dom';
import LoginForm from '../components/Form/LoginForm';
import { useAuth } from "../utils/context";
function LoginPage() {
const { user } = useAuth()
console.log("LoginPage",user)
return (
<>
<div className="py-5">
......@@ -12,7 +8,6 @@ function LoginPage() {
<p className="ms-4">-일정관리앱</p>
</div>
<LoginForm />
<Link to="/home">asda</Link>
</>
);
}
......
import ScheduleForm from "../components/Form/ScheduleForm.js";
import ScheduleForm from "../components/Form/ScheduleForm";
const ScheduleEditPage = () => {
return (
......
import Menu from "../components/Menu/Menu.js";
import HomeBtn from "../components/Buttons/HomeBtn.js";
import DateView from "../components/Calendar/DateView.js";
import Footer from "../components/Footer.js";
import Menu from "../components/Menu/Menu";
import HomeBtn from "../components/Buttons/HomeBtn";
import DateView from "../components/Calendar/DateView";
import Footer from "../components/Footer";
const SchedulePage = () => {
return (
......
import BackBtn from "../components/Buttons/BackBtn.js";
import BackBtn from "../components/Buttons/BackBtn";
import SignupForm from '../components/Form/SignupForm';
import { useAuth } from "../utils/context";
function SingupPage() {
const { user } = useAuth()
console.log("Signup user",user)
return (
<>
<BackBtn />
......
import StudyPlanEditForm from "../components/Form/StudyPlanEditForm.js"
import StudyPlanEditForm from "../components/Form/StudyPlanEditForm"
const StudyPlanEditPage = () => {
return (
......
import Menu from "../components/Menu/Menu.js";
import HomeBtn from "../components/Buttons/HomeBtn.js";
import StudyPlanList from "../components/StudyPlanList.js";
import Menu from "../components/Menu/Menu";
import HomeBtn from "../components/Buttons/HomeBtn";
import StudyPlanList from "../components/StudyPlanList";
const StudyPlanListPage = () => {
return (
......
import { useParams } from "react-router-dom";
import Menu from "../components/Menu/Menu.js";
import BackBtn from "../components/Buttons/BackBtn.js";
import Footer from "../components/Footer.js";
import AddplanList from "../components/StudyPlan/AddplanList.js";
import Menu from "../components/Menu/Menu";
import BackBtn from "../components/Buttons/BackBtn";
import Footer from "../components/Footer";
import AddplanList from "../components/StudyPlan/AddplanList";
const StudyPlanPage = () => {
const { subjectId } = useParams();
......
import SubjectForm from "../components/Form/SubjectForm.js"
import SubjectForm from "../components/Form/SubjectForm"
const SubjectEditPage = () => {
return (
......
import Menu from "../components/Menu/Menu.js";
import HomeBtn from "../components/Buttons/HomeBtn.js";
import Weekly from "../components/Calendar/Weekly.js";
import TodoList from "../components/TodoList.js";
import Footer from "../components/Footer.js";
import Menu from "../components/Menu/Menu";
import HomeBtn from "../components/Buttons/HomeBtn";
import Weekly from "../components/Calendar/Weekly";
import TodoList from "../components/TodoList";
import Footer from "../components/Footer";
const ToDoPage = () => {
return (
......
export function getLoggedIn() {
const loggedData = localStorage.getItem("login");
let loggedIn = null;
if (loggedData) {
// loggedIn = JSON.parse(loggedData);
loggedIn = loggedData
}
return loggedIn;
}
\ No newline at end of file
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