Skip to content

Commit

Permalink
fix(ReblocksPayment): fix lifecycle hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
goldcaddy77 committed Jan 24, 2018
1 parent 8036222 commit 2ad05bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/ReblocksPayment/ReblocksPayment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ export class ReblocksPayment extends React.Component<Props, State> {
this.renderBrainblocksButton();
}

componentDidMount() {
this.renderBrainblocksButton();
}

render() {
return <div id="reblocks" />;
}
Expand Down

0 comments on commit 2ad05bf

Please sign in to comment.