File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
server/client/src/components Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ class Header extends Component {
1212 return < li > < a href = "/auth/google" > Login With Google</ a > </ li > ;
1313 default :
1414 return [
15- < li > < Payments /> </ li > ,
16- < li > < a href = "/api/logout" > Logout</ a > </ li >
15+ < li key = "1" > < Payments /> </ li > ,
16+ < li key = "2" > < a href = "/api/logout" > Logout</ a > </ li >
1717 ] ;
1818 }
1919 }
Original file line number Diff line number Diff line change @@ -5,10 +5,16 @@ class Payments extends Component {
55 render ( ) {
66 return (
77 < StripeCheckout
8+ name = "Emaily"
9+ description = "$5 for 5 email credits"
810 amount = { 500 }
911 token = { token => console . log ( token ) }
1012 stripeKey = { process . env . REACT_APP_STRIPE_KEY }
11- />
13+ >
14+ < button className = "btn" >
15+ Add Credits
16+ </ button >
17+ </ StripeCheckout >
1218 ) ;
1319 }
1420}
You can’t perform that action at this time.
0 commit comments