fix: Make public stripe key configurable

pull/35062/head
Bouncey 2019-02-05 18:09:32 +00:00 committed by mrugesh mohapatra
parent f9ff43d128
commit 04d711543b
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
/* global STRIPE_PUBLIC_KEY */
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { bindActionCreators } from 'redux';
@ -38,7 +39,7 @@ const propTypes = {
show: PropTypes.bool
};
const stripeKey = 'pk_live_E6Z6xPM8pEsJziHW905zpAvF';
const stripeKey = STRIPE_PUBLIC_KEY;
class DonationModal extends Component {
constructor(...props) {