fix: Make public stripe key configurable
This commit is contained in:
committed by
mrugesh mohapatra
parent
f9ff43d128
commit
04d711543b
@ -1,3 +1,4 @@
|
|||||||
|
/* global STRIPE_PUBLIC_KEY */
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { bindActionCreators } from 'redux';
|
import { bindActionCreators } from 'redux';
|
||||||
@ -38,7 +39,7 @@ const propTypes = {
|
|||||||
show: PropTypes.bool
|
show: PropTypes.bool
|
||||||
};
|
};
|
||||||
|
|
||||||
const stripeKey = 'pk_live_E6Z6xPM8pEsJziHW905zpAvF';
|
const stripeKey = STRIPE_PUBLIC_KEY;
|
||||||
|
|
||||||
class DonationModal extends Component {
|
class DonationModal extends Component {
|
||||||
constructor(...props) {
|
constructor(...props) {
|
||||||
|
Reference in New Issue
Block a user