More stripe integration #6649
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ class StripeAccountConnection extends React.Component<Props, State> {
|
||||||
).then((accountListResponse: any) => {
|
).then((accountListResponse: any) => {
|
||||||
// TODO type this
|
// TODO type this
|
||||||
that.setState({
|
that.setState({
|
||||||
accountTransactions: accountListResponse,
|
accountTransactions: accountListResponse.reverse(),
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(accountListResponse);
|
console.log(accountListResponse);
|
||||||
|
@ -303,7 +303,7 @@ class StripeAccountConnection extends React.Component<Props, State> {
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{accountTransactions &&
|
{accountTransactions &&
|
||||||
accountTransactions.reverse().map((transaction) => (
|
accountTransactions.map((transaction) => (
|
||||||
<tr key={transaction.name + transaction.created_at}>
|
<tr key={transaction.name + transaction.created_at}>
|
||||||
<td>{moment(transaction.created_at).format('LLL')}</td>
|
<td>{moment(transaction.created_at).format('LLL')}</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Reference in a new issue