Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
E
exam_11_front
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
zarina
exam_11_front
Commits
1026abcd
Commit
1026abcd
authored
Jul 30, 2020
by
zarina
🌊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
исправила ошибку с неверными атрибутами reactstrap
parent
b9216aab
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
9 deletions
+3
-9
package-lock.json
package-lock.json
+1
-1
App.js
src/containers/App.js
+0
-3
FullProduct.css
src/containers/FullProduct/FullProduct.css
+0
-0
FullProduct.js
src/containers/FullProduct/FullProduct.js
+1
-4
Products.js
src/containers/Products/Products.js
+1
-1
products.js
src/store/products.js
+0
-0
No files found.
package-lock.json
View file @
1026abcd
{
"name"
:
"
shop-frontend
"
,
"name"
:
"
exam_11_front
"
,
"version"
:
"0.1.0"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
...
...
src/containers/App.js
View file @
1026abcd
...
...
@@ -9,8 +9,6 @@ import Register from "./Register/Register";
import
Login
from
"./Login/Login"
;
import
AddProductForm
from
"./AddProductForm/AddProductForm"
;
import
{
logoutUser
}
from
"../store/actions/usersActions"
;
import
FullProduct
from
"./FullProduct/FullProduct"
;
class
App
extends
Component
{
...
...
@@ -33,7 +31,6 @@ class App extends Component {
<
Route
path
=
"/register"
exact
component
=
{
Register
}
/
>
<
Route
path
=
"/login"
exact
component
=
{
Login
}
/
>
<
Route
path
=
"/products/new"
exact
component
=
{
AddProductForm
}
/
>
<
Route
path
=
"/products/:id"
exact
component
=
{
FullProduct
}
/
>
<
/Switch
>
<
/Container
>
<
/main
>
...
...
src/containers/FullProduct/FullProduct.css
deleted
100644 → 0
View file @
b9216aab
src/containers/FullProduct/FullProduct.js
View file @
1026abcd
import
React
,
{
Component
}
from
"react"
;
import
{
connect
}
from
"react-redux"
;
import
config
from
"../../config"
;
import
'./FullProduct.css'
import
{
Badge
,
Button
}
from
"reactstrap"
;
import
{
NavLink
}
from
"react-router-dom"
;
import
{
Button
}
from
"reactstrap"
;
import
{
deleteProduct
,
getFullProduct
}
from
"../../store/actions/productsActions"
;
class
FullProduct
extends
Component
{
...
...
@@ -17,7 +15,6 @@ class FullProduct extends Component {
return
(
<>
{(
this
.
props
.
fullProduct
&&
this
.
props
.
fullProduct
.
author
)
?
(
<>
<
img
width
=
"500"
className
=
'postImage'
...
...
src/containers/Products/Products.js
View file @
1026abcd
...
...
@@ -22,7 +22,7 @@ class Products extends Component {
render
()
{
return
(
<
div
className
=
'Products'
>
<
Nav
navbar
c
vertical
className
=
'Products_categories'
>
<
Nav
navbar
vertical
className
=
'Products_categories'
>
<
NavItem
>
<
NavLink
to
=
'/'
>
All
items
<
/NavLink
>
<
/NavItem
>
...
...
src/store/products.js
deleted
100644 → 0
View file @
b9216aab
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