|
|
@ -1,6 +1,6 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
import React, { PureComponent } from 'react' |
|
|
|
import React, { PureComponent, Fragment } from 'react' |
|
|
|
import styled from 'styled-components' |
|
|
|
import { connect } from 'react-redux' |
|
|
|
import { compose } from 'redux' |
|
|
@ -9,6 +9,9 @@ import { |
|
|
|
groupAccountOperationsByDay, |
|
|
|
groupAccountsOperationsByDay, |
|
|
|
} from '@ledgerhq/live-common/lib/helpers/account' |
|
|
|
import IconReceive from 'icons/Receive' |
|
|
|
import IconSend from 'icons/Send' |
|
|
|
import Button from 'components/base/Button' |
|
|
|
|
|
|
|
import type { Operation, Account } from '@ledgerhq/live-common/lib/types' |
|
|
|
|
|
|
@ -66,7 +69,13 @@ const initialState = { |
|
|
|
nbToShow: 20, |
|
|
|
} |
|
|
|
|
|
|
|
const footerPlaceholder = null // TODO figure out with design what we want here
|
|
|
|
const footerPlaceholder = ( |
|
|
|
<Box p={4} align="center"> |
|
|
|
<Text ff="Open Sans" fontSize={3}> |
|
|
|
No more operations |
|
|
|
</Text> |
|
|
|
</Box> |
|
|
|
) |
|
|
|
|
|
|
|
export class OperationsList extends PureComponent<Props, State> { |
|
|
|
static defaultProps = { |
|
|
|