Commit e6a97ad8 authored by Цой Данил's avatar Цой Данил 💬

Deleted all not needed imports

parent eb0ff9cc
import { shallowEqual } from "react-redux" import { shallowEqual } from "react-redux"
import { Button, TextField } from '@mui/material'; import { Button, TextField } from '@mui/material';
import Box from '@mui/material/Box';
import Modal from '@mui/material/Modal';
import { AppDispatch, AppState, useAppDispatch } from "../../store/store" import { AppDispatch, AppState, useAppDispatch } from "../../store/store"
import { useSelector } from "react-redux" import { useSelector } from "react-redux"
import Preloader from "../../components/UI/Preloader/Preloader" import Preloader from "../../components/UI/Preloader/Preloader"
......
import { useEffect, useState } from 'react' import { useEffect, useState } from 'react'
import { AppDispatch, AppState, useAppDispatch } from '../../store/store' import { AppDispatch, AppState, useAppDispatch } from '../../store/store'
import styles from './MainPage.module.css' import { deletePhotoById, getPhotosByUserId, setTargetedUser } from '../../store/photos/photos.slice'
import { deletePhotoById, getAllPhotos, getPhotosByUserId, setTargetedUser } from '../../store/photos/photos.slice'
import { shallowEqual, useSelector } from 'react-redux' import { shallowEqual, useSelector } from 'react-redux'
import IPhoto from '../../interfaces/IPhoto' import IPhoto from '../../interfaces/IPhoto'
import PhotoBlock from '../../components/PhotoBlock/PhotoBlock'
import Backdrop from '@mui/material/Backdrop'; import Backdrop from '@mui/material/Backdrop';
import Box from '@mui/material/Box'; import Box from '@mui/material/Box';
import Modal from '@mui/material/Modal'; import Modal from '@mui/material/Modal';
...@@ -12,7 +10,6 @@ import Fade from '@mui/material/Fade'; ...@@ -12,7 +10,6 @@ import Fade from '@mui/material/Fade';
import { useNavigate, useParams } from 'react-router-dom' import { useNavigate, useParams } from 'react-router-dom'
import { Button, CardMedia } from '@mui/material' import { Button, CardMedia } from '@mui/material'
import image_not_found from '../../assets/image_not_found.png' import image_not_found from '../../assets/image_not_found.png'
import IUser from '../../interfaces/IUser'
import PhotoUserGalleryBlock from '../../components/PhotoUserGalleryBlock/PhotoUserGalleryBlock' import PhotoUserGalleryBlock from '../../components/PhotoUserGalleryBlock/PhotoUserGalleryBlock'
const modalStyles = { const modalStyles = {
......
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