fix: reorder modules and add https

This commit is contained in:
Ahmad Abdolsaheb
2019-02-14 15:19:50 +03:00
committed by Stuart Taylor
parent a30637d934
commit 82219916bf
+2 -2
View File
@@ -1,10 +1,10 @@
/* eslint-disable max-len */
import React, { Component, Fragment } from 'react';
import Helmet from 'react-helmet';
import ReactGA from '../analytics/index.js';
import { Link } from 'gatsby';
import { Grid, Col, Row } from '@freecodecamp/react-bootstrap';
import ReactGA from '../analytics/index.js';
import Spacer from '../components/helpers/Spacer';
const paypalMonthlyDonations = [
@@ -52,7 +52,7 @@ class DonateOtherPage extends Component {
renderForm(item) {
return (
<form
action='//www.paypal.com/cgi-bin/webscr'
action='https://www.paypal.com/cgi-bin/webscr'
method='post'
onSubmit={ReactGA.event({category: 'donation', action: 'click', label: item.eventLabel, value: item.eventValue})}
target='_blank'