From abb44757a5987ad34d3baa592ceb7697abf17fb0 Mon Sep 17 00:00:00 2001 From: "adam.harbas@a-net.ba" Date: Tue, 5 Jan 2016 09:31:51 +0100 Subject: [PATCH] Fix for paypalButton component --- .../app/components/payment/paymentSelect.js | 7 +-- .../app/components/payment/paypalButton.js | 50 +++++++++---------- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/front-ui/app/components/payment/paymentSelect.js b/front-ui/app/components/payment/paymentSelect.js index 4645f2d..ea2e72f 100644 --- a/front-ui/app/components/payment/paymentSelect.js +++ b/front-ui/app/components/payment/paymentSelect.js @@ -5,13 +5,14 @@ var NavigationStore = require('../../stores/navigationStore'); var Globals = require('../../globals'); var Router = require('react-router'); +var PaypalButton = require('./paypalButton'); var PaymentSelect = React.createClass({ render: function() { return ( -
- -
); +
+ +
); } }); diff --git a/front-ui/app/components/payment/paypalButton.js b/front-ui/app/components/payment/paypalButton.js index 93e3e1c..7adb253 100644 --- a/front-ui/app/components/payment/paypalButton.js +++ b/front-ui/app/components/payment/paypalButton.js @@ -6,35 +6,35 @@ var NavigationStore = require('../../stores/navigationStore'); var Globals = require('../../globals'); var Router = require('react-router'); -var PaymentSelect = React.createClass({ +var PaypalButton = React.createClass({ render: function() { return (
-
- - - - - - - - - - - - - - - - - - - -
-
-); +
+ + + + + + + + + + + + + + + + + + + +
+ + ); } }); -module.exports = PaymentSelect; +module.exports = PaypalButton;