From 028a14342737a95d1d09bcabba623f8d4fdd9c1d Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sat, 25 Feb 2023 21:55:58 +0800 Subject: [PATCH] Removed unused imports --- src/Components/Note/Note.tsx | 1 - src/Components/Notes/Notes.tsx | 2 -- src/Routes/NewNote/NewNote.tsx | 2 -- 3 files changed, 5 deletions(-) diff --git a/src/Components/Note/Note.tsx b/src/Components/Note/Note.tsx index 9d2aae2..346a5d5 100644 --- a/src/Components/Note/Note.tsx +++ b/src/Components/Note/Note.tsx @@ -1,7 +1,6 @@ import * as React from "react"; import styles from "../../styles"; import { Button } from "@mui/material"; -import axios from "axios"; import { useMutation, useQueryClient } from "react-query"; import { DeleteNote } from "../Api/Api"; diff --git a/src/Components/Notes/Notes.tsx b/src/Components/Notes/Notes.tsx index 3ef5c35..929f5d0 100644 --- a/src/Components/Notes/Notes.tsx +++ b/src/Components/Notes/Notes.tsx @@ -1,10 +1,8 @@ import * as React from "react"; import styles from "../../styles"; -import { useEffect, useState } from "react"; import { useNavigate } from "react-router-dom"; import Note from "../Note/Note"; import { Button } from "@mui/material"; -import axios from "axios"; import { useQuery } from "react-query"; import { GetNotes } from "../Api/Api"; diff --git a/src/Routes/NewNote/NewNote.tsx b/src/Routes/NewNote/NewNote.tsx index dc5a93c..12485e9 100644 --- a/src/Routes/NewNote/NewNote.tsx +++ b/src/Routes/NewNote/NewNote.tsx @@ -3,10 +3,8 @@ import { Button } from "@mui/material"; import { useNavigate } from "react-router-dom"; import { useState } from "react"; import Header from "../../Components/Header/Header"; -import axios from "axios"; import { AddNote } from "../../Components/Api/Api"; import { useMutation, useQueryClient } from "react-query"; -import { title } from "process"; export interface input { e: React.ChangeEvent;