Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
E
exam_12_Tsoy_Danil
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Цой Данил
exam_12_Tsoy_Danil
Commits
e6a97ad8
Commit
e6a97ad8
authored
Apr 15, 2023
by
Цой Данил
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deleted all not needed imports
parent
eb0ff9cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
AddForm.tsx
frontend/src/containers/AddForm/AddForm.tsx
+0
-2
UserGallery.tsx
frontend/src/containers/UserGallery/UserGallery.tsx
+1
-4
No files found.
frontend/src/containers/AddForm/AddForm.tsx
View file @
e6a97ad8
import
{
shallowEqual
}
from
"react-redux"
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
{
useSelector
}
from
"react-redux"
import
Preloader
from
"../../components/UI/Preloader/Preloader"
...
...
frontend/src/containers/UserGallery/UserGallery.tsx
View file @
e6a97ad8
import
{
useEffect
,
useState
}
from
'react'
import
{
AppDispatch
,
AppState
,
useAppDispatch
}
from
'../../store/store'
import
styles
from
'./MainPage.module.css'
import
{
deletePhotoById
,
getAllPhotos
,
getPhotosByUserId
,
setTargetedUser
}
from
'../../store/photos/photos.slice'
import
{
deletePhotoById
,
getPhotosByUserId
,
setTargetedUser
}
from
'../../store/photos/photos.slice'
import
{
shallowEqual
,
useSelector
}
from
'react-redux'
import
IPhoto
from
'../../interfaces/IPhoto'
import
PhotoBlock
from
'../../components/PhotoBlock/PhotoBlock'
import
Backdrop
from
'@mui/material/Backdrop'
;
import
Box
from
'@mui/material/Box'
;
import
Modal
from
'@mui/material/Modal'
;
...
...
@@ -12,7 +10,6 @@ import Fade from '@mui/material/Fade';
import
{
useNavigate
,
useParams
}
from
'react-router-dom'
import
{
Button
,
CardMedia
}
from
'@mui/material'
import
image_not_found
from
'../../assets/image_not_found.png'
import
IUser
from
'../../interfaces/IUser'
import
PhotoUserGalleryBlock
from
'../../components/PhotoUserGalleryBlock/PhotoUserGalleryBlock'
const
modalStyles
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment