diff --git a/front/src/features/auth/authSlice.ts b/front/src/features/auth/authSlice.ts index 68a9f3b..b426bb5 100644 --- a/front/src/features/auth/authSlice.ts +++ b/front/src/features/auth/authSlice.ts @@ -1,5 +1,4 @@ import { createSlice } from "@reduxjs/toolkit"; -import type {PayloadAction} from "@reduxjs/toolkit"; import { loginThunk } from "./authThunks"; interface AuthState { diff --git a/front/src/pages/Layout/Layout.tsx b/front/src/pages/Layout/Layout.tsx index 84a558e..b9c0288 100644 --- a/front/src/pages/Layout/Layout.tsx +++ b/front/src/pages/Layout/Layout.tsx @@ -1,6 +1,6 @@ import Header from "../../widgets/Header/Header"; import { Outlet } from "react-router"; -import { useAppDispatch, useAppSelector } from '../../app/hooks'; +import { useAppSelector } from '../../app/hooks'; import type { RootState } from "../../app/store"; import { Navigate } from "react-router"; diff --git a/front/src/pages/LoginPage/LoginPage.tsx b/front/src/pages/LoginPage/LoginPage.tsx index 9e34c3a..d10263b 100644 --- a/front/src/pages/LoginPage/LoginPage.tsx +++ b/front/src/pages/LoginPage/LoginPage.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from 'react'; +import React, { useEffect } from 'react'; import { useNavigate } from 'react-router-dom'; import { Form, Input, Button, Checkbox, Alert, Card, Spin, Image } from 'antd'; import { UserOutlined, LockOutlined } from '@ant-design/icons'; diff --git a/front/src/widgets/Header/Header.tsx b/front/src/widgets/Header/Header.tsx index 65201ba..369ec21 100644 --- a/front/src/widgets/Header/Header.tsx +++ b/front/src/widgets/Header/Header.tsx @@ -1,5 +1,5 @@ import { NavLink } from "react-router"; -import { useAppDispatch, useAppSelector } from '../../app/hooks'; +import { useAppDispatch } from '../../app/hooks'; import { logout } from "../../features/auth/authSlice"; const Header = () =>{