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

Commit

Permalink
fix a few hanging bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
James Baxley committed Dec 20, 2016
1 parent 49c44c0 commit 2290c47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions imports/pages/give/home/RightPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ export default withData(({ loading, data, changeYear }) => (
See your summary from
</em></small>
</p>
<style>{".input--active select { color: #ffffff }"}</style>
<style>{".right-select select { color: #ffffff }"}</style>
<Forms.Select
items={YEARS}
hideLabel
classes={["hard", "flush", "display-inline-block"]}
classes={["right-select", "hard", "flush", "display-inline-block"]}
inputClasses="outlined--dotted outlined--light text-light-primary h6 hard-top flush-bottom"
onChange={changeYear}
/>
Expand Down
4 changes: 2 additions & 2 deletions imports/pages/give/home/withRemoveSavedPayment.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,15 @@ export class EditWithOutMutations extends Component {
changeName = (name: string) => this.setState({ name })

save = () => {
this.setState({ loading: true });
this.setState({ loading: true, action: "update" });
this.props.save(this.props.payment.id, this.state.name)
.then(() => {
this.setState({ loading: false, success: true, action: "update" });
});
}

remove = () => {
this.setState({ loading: true });
this.setState({ loading: true, action: "remove" });
this.props.remove(this.props.payment.id)
.then(() => {
this.setState({ loading: false, success: true, action: "remove" });
Expand Down

0 comments on commit 2290c47

Please sign in to comment.