From 76d9340e8db3720c961ff53a03efc1bdb72ee8f9 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Wed, 8 Mar 2023 23:41:16 +0800 Subject: [PATCH] Removed unused imports in new product page --- src/Routes/NewProduct/NewProduct.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Routes/NewProduct/NewProduct.tsx b/src/Routes/NewProduct/NewProduct.tsx index 64a31ba..4b807c8 100644 --- a/src/Routes/NewProduct/NewProduct.tsx +++ b/src/Routes/NewProduct/NewProduct.tsx @@ -1,11 +1,8 @@ -import React, { useEffect, useState } from "react"; +import React, { useState } from "react"; import styles from "../../styles"; import { useNavigate } from "react-router-dom"; import AddIcon from "../../Components/Icons/AddIcon/AddIcon"; import { Button } from "@mui/material"; -import { Navigate } from "react-router-dom"; -import { LoginState } from "../../Interfaces/Interfaces"; -import { useSelector } from "react-redux"; import { AddProduct } from "../../Components/Api/Api"; import { useMutation, useQueryClient } from "react-query"; import LoginChecker from "../../Components/LoginChecker/LoginChecker";