mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: reorder modules and add https
This commit is contained in:
committed by
Stuart Taylor
parent
a30637d934
commit
82219916bf
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user