Skip to content

Commit

Permalink
the last of the last
Browse files Browse the repository at this point in the history
  • Loading branch information
deipanema committed Oct 18, 2024
1 parent 30babab commit afcf04d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 331 deletions.
4 changes: 1 addition & 3 deletions src/app/dashboard/note/[noteId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ import { toast } from "react-toastify";
import Image from "next/image";
import { ChangeEvent, useEffect, useState } from "react";
import { usePathname, useRouter, useSearchParams } from "next/navigation";
import { useQuery } from "@tanstack/react-query";

import useModal from "@/hook/useModal";
import { getNote, getNotes, patchNotes, postNotes } from "@/api/noteAPI";
import { getNote, patchNotes, postNotes } from "@/api/noteAPI";
import { getTodos } from "@/api/todoAPI";
import UploadLinkModal from "@/components/UploadLinkModal";
import LoadingScreen from "@/components/LoadingScreen";
import { NoteType, TodoType } from "@/app/Types/TodoGoalType";

export default function NotePage() {
Expand Down
4 changes: 1 addition & 3 deletions src/app/dashboard/todoboard/page.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
"use client";

import { useEffect, useState } from "react";
import { useQuery } from "@tanstack/react-query";
import { toast } from "react-toastify";

import CreateNewTodo from "@/components/CreateNewTodo";
import useModal from "@/hook/useModal";
import { getAllTodos } from "@/api/todoAPI";
import { TodoType } from "@/app/Types/TodoGoalType";

import TodoItem from "../components/TodoItem";
import { TodoType } from "@/app/Types/TodoGoalType";

type StatusType = "All" | "Todo" | "Done";

Expand Down
325 changes: 0 additions & 325 deletions src/components/CreateNewTodo copy.tsx

This file was deleted.

0 comments on commit afcf04d

Please sign in to comment.