Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

Micro Fixes #792

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion frontend/src/containers/AddFundsContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export function createManualDonation() {
};
delete attributes.amountText;
delete attributes.amount;
console.log(">>> attributes", attributes);

return validateAddFundsRequest(attributes)
.then(() => addFundsToCollective(collective.slug, {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/containers/DonatePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class DonatePage extends Component {
this.state = { view: 'default' };
this.tier = (this.props.tier.description) ? this.props.tier : getTier(this.props.tier, collective.tiers) || this.props.tier;
const verb = this.props.params.verb || 'donate';
console.log(">>> this.tier", this.tier, "this.props", this.props, "collective.tiers", collective.tiers, "getTier", getTier(this.props.tier, collective.tiers));

if (!this.tier.name || this.tier.presets && this.tier.presets.length > 1) {
Object.assign(this.tier, {
name: "custom",
Expand Down
1 change: 0 additions & 1 deletion frontend/src/containers/LoginTopBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export class LoginTopBar extends Component {
componentDidMount() {
this.onClickOutsideRef = this.onClickOutside.bind(this);
const urlParams = getQueryParams();
console.log(">>> url query params: ", urlParams);
if (urlParams.referral) {
storage.set('referral', urlParams.referral, 48 * 60 * 60 * 1000); // we keep the referral for 48h or until we receive a new ?referral=
}
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/css/components/MailChimpInputSection.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
font-size: 16px;
font-weight: bold;
text-align: center;
color: #ffffff;
color: #fff;
text-transform: uppercase;
background-color: #d6d6d6;
&.-valid {
Expand All @@ -49,6 +49,9 @@
cursor: pointer;
opacity: .94;
}
&[disabled]:hover {
color: #fff;
}
}
form {
margin: auto;
Expand Down
1 change: 0 additions & 1 deletion frontend/src/lib/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ function get(key) {
if (!entry) return;
try {
const obj = JSON.parse(entry);
console.log(">>> storage: object found for ", key, obj);
if (Number(obj.expire) < Date.now()) {
console.error(">>> entry for ", key, "has expired");
return;
Expand Down