File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class ContactUs extends Component {
55
55
popupHeader = { "Server say:" }
56
56
renderPopupContentHandler = { ( ) => (
57
57
< img
58
- class = "img-responsive"
58
+ className = "img-responsive"
59
59
src = "https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LtZJGF3BnjoLSeYeXE_%2F-LuOTLcQnAaCxuZPlxc2%2F-LuOVsoiOc6D7i8HNglF%2F2300883_3.jpg?alt=media& token = 0 c6d76e7 - f6d9-4c08-ab92-5d7032935575 "
60
60
alt = "no"
61
61
/>
Original file line number Diff line number Diff line change 1
1
import React , { Component } from "react" ;
2
2
import { ItemCart } from "./ItemCart" ;
3
- import { CommonBtn } from "./CommonLinkBtn" ;
3
+ import { CommonLinkBtn } from "./CommonLinkBtn" ;
4
4
5
5
class Cart extends Component {
6
6
renderItems = ( ) => {
@@ -37,9 +37,9 @@ class Cart extends Component {
37
37
< div className = "cart-total-price" > ${ this . calculatePrice ( ) } </ div >
38
38
</ div >
39
39
{ ! this . props . items . length ? (
40
- < CommonBtn linkTo = { "/" } linkName = { "Back to shop" } />
40
+ < CommonLinkBtn linkTo = { "/" } linkName = { "Back to shop" } />
41
41
) : (
42
- < CommonBtn linkTo = { "/checkout" } linkName = { "Checkout" } />
42
+ < CommonLinkBtn linkTo = { "/checkout" } linkName = { "Checkout" } />
43
43
) }
44
44
</ div >
45
45
</ div >
Original file line number Diff line number Diff line change 1
1
import React , { Component } from "react" ;
2
- import { CommonBtn } from "./CommonLinkBtn" ;
2
+ import { CommonLinkBtn } from "./CommonLinkBtn" ;
3
3
4
4
class Checkout extends Component {
5
5
componentDidMount ( ) {
@@ -11,7 +11,7 @@ class Checkout extends Component {
11
11
< div className = "page-element" >
12
12
< div className = "checkout-page" >
13
13
< h2 > Successful!</ h2 >
14
- < CommonBtn linkTo = { "/" } linkName = { "Back to shop" } />
14
+ < CommonLinkBtn linkTo = { "/" } linkName = { "Back to shop" } />
15
15
</ div >
16
16
</ div >
17
17
</ div >
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export class Filter extends Component {
6
6
return (
7
7
< div className = "filter-manufacturer" >
8
8
< input
9
+ key = { e . index }
9
10
type = "checkbox"
10
11
checked = { e . selected }
11
12
onChange = { ( ) => this . props . setManufacturerHandler ( i ) }
You can’t perform that action at this time.
0 commit comments